X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fgroup-item.h;h=61593632cd513990a7b10f302f750db0f950cffc;hb=d950831f83004457e69c3e6e44131aef3e57efd3;hp=09bde590231ae2d61a8e257759e4552d99f08f86;hpb=a353919df75c25331144602421353a856f4236d6;p=pspp diff --git a/src/output/group-item.h b/src/output/group-item.h index 09bde59023..61593632cd 100644 --- a/src/output/group-item.h +++ b/src/output/group-item.h @@ -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 @@ -29,10 +29,17 @@ struct group_open_item { struct output_item output_item; + + /* Locale-invariant name of the command that produced the enclosed output. + May be NULL if the group doesn't enclose a particular command's + output. */ 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