diff options
Diffstat (limited to 'group.c')
-rw-r--r-- | group.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -22,6 +22,7 @@ void group_add(char *gname, ENTRY *addme); GROUP **get_groups(); char *get_gname(GROUP *g); char *get_gprog(GROUP *g); +void set_gprog(GROUP *g, char *p); ENTRY *get_ghead(GROUP *g); int get_ecount(GROUP *g); int get_gcount(); @@ -128,6 +129,11 @@ char *get_gprog(GROUP *g){ return g->program; } +void set_gprog(GROUP *g, char *p){ + assert(g != NULL); + strcpy(g->program, p); +} + ENTRY *get_ghead(GROUP *g){ assert(g != NULL); return g->head; |