summaryrefslogtreecommitdiff
path: root/group.h
blob: 38a33f82a8adfb4175a056401c3d27de96c55b5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef GROUP_H
#define GROUP_H

typedef struct group GROUP;

GROUP *create_group(char *new_name);

void group_add(char *gname, ENTRY *addme);

void group_rm(GROUP *g);

void clean_groups();

GROUP **get_groups();

char *get_gname(GROUP *g);

char *get_gprog(GROUP *g);

void set_gprog(GROUP *g, char *p);

char *get_gflags(GROUP *g);

void set_gflags(GROUP *g, char *p);

ENTRY *get_ghead(GROUP *g);

int get_ecount(GROUP *g);

int get_gcount();

void group_debug();

#endif