diff options
author | louie <lshprung@yahoo.com> | 2020-08-04 10:07:20 -0700 |
---|---|---|
committer | louie <lshprung@yahoo.com> | 2020-08-04 10:07:20 -0700 |
commit | 1c85b0c98c3a8a55665abfdd8517baf7791531da (patch) | |
tree | bdcf94ee22bcbfc155822d96145dd9c2ef23f6b4 /group.c | |
parent | a98dd21113d8e8a6893e6813f9411a8d0b6ef10e (diff) |
Added hide option for read_cfg
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; } |