From 22ab9d971df13b9af0e229705f0d8957b092ae9c Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sat, 1 Nov 2025 14:46:00 +0100 Subject: Added new files --- FICS/addgroup.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 FICS/addgroup.h (limited to 'FICS/addgroup.h') diff --git a/FICS/addgroup.h b/FICS/addgroup.h new file mode 100644 index 0000000..e5b1906 --- /dev/null +++ b/FICS/addgroup.h @@ -0,0 +1,17 @@ +#ifndef ADDGROUP_H +#define ADDGROUP_H + +#include "common.h" + +#include +#include + +__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 *); +int read_the_group_permissions_file(const char *); +__FICS_END_DECLS + +#endif -- cgit v1.2.3