summaryrefslogtreecommitdiff
path: root/group.c
diff options
context:
space:
mode:
Diffstat (limited to 'group.c')
-rw-r--r--group.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/group.c b/group.c
index 6b293a6..ca47edd 100644
--- a/group.c
+++ b/group.c
@@ -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;
}