output-item: Make command name part of every output_item.
[pspp] / src / output / output-item.h
index b522df4c90d042f46fcb1c1c95025e0bcaaaa515..1580d1e1eb6c3797b1e391bd77dc453ecf5b1147 100644 (file)
@@ -42,6 +42,11 @@ struct output_item
 
        Use output_item_get_label() to read an item's label. */
     char *label;
+
+    /* A locale-invariant identifier for the command that produced the output,
+       which may be NULL if unknown or if a command did not produce this
+       output. */
+    char *command_name;
   };
 
 struct output_item *output_item_ref (const struct output_item *);