diff options
Diffstat (limited to 'FICS/addgroup.h')
| -rw-r--r-- | FICS/addgroup.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/FICS/addgroup.h b/FICS/addgroup.h new file mode 100644 index 0000000..3642969 --- /dev/null +++ b/FICS/addgroup.h @@ -0,0 +1,18 @@ +#ifndef ADDGROUP_H +#define ADDGROUP_H + +#include "common.h" + +#include <stdbool.h> +#include <stdio.h> + +__FICS_BEGIN_DECLS +int fics_addgroup(const char *); +bool get_group_id(const char *, int *); +bool get_next_line_from_file(FILE *, char **); // uses 'new[]' +bool group_exists(const char *); +bool is_valid_group_name(const char *); +int read_the_group_permissions_file(const char *); +__FICS_END_DECLS + +#endif |
