diff options
Diffstat (limited to 'group.c')
-rw-r--r-- | group.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -30,6 +30,7 @@ char *get_gflags(GROUP *g); void set_gflags(GROUP *g, char *p); ENTRY *get_ghead(GROUP *g); int get_ecount(GROUP *g); +void set_ecount(GROUP *g, int new_count); //for use in hiding entries int get_gcount(); void group_debug(); //debug function to output all groups @@ -220,6 +221,11 @@ int get_ecount(GROUP *g){ return g->entry_count; } +void set_ecount(GROUP *g, int new_count){ + assert(g != NULL); + g->entry_count = new_count; +} + int get_gcount(){ return group_count; } |