diff options
author | louie <lshprung@yahoo.com> | 2020-06-26 17:26:04 -0700 |
---|---|---|
committer | louie <lshprung@yahoo.com> | 2020-06-26 17:26:04 -0700 |
commit | 7985c945cf11c50559daa8bdb03f9a023deb2da3 (patch) | |
tree | 05551b47e2b976a84b90df1cbe1c3727ab232839 /group.c | |
parent | f41dcb2b06bb379ff47a9f66cf509426706567f9 (diff) |
Basic ability to launch entries
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; |