output-item: Make command name part of every output_item.
[pspp] / src / output / group-item.h
index 09bde590231ae2d61a8e257759e4552d99f08f86..b8ac464c3d7e96c1e2ad3dfcf489b8f877f42cec 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPP - a program for statistical analysis.
-   Copyright (C) 2018 Free Sonftware Foundation, Inc.
+   Copyright (C) 2018 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 struct group_open_item
   {
     struct output_item output_item;
-    char *command_name;
   };
 
-struct group_open_item *group_open_item_create (const char *command_name);
+struct group_open_item *group_open_item_create (const char *command_name,
+                                                const char *label);
+struct group_open_item *group_open_item_create_nocopy (char *command_name,
+                                                       char *label);
 
 /* A group_close item. */
 struct group_close_item