aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/addgroup.h
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2025-11-01 14:46:00 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2025-11-01 14:46:00 +0100
commit22ab9d971df13b9af0e229705f0d8957b092ae9c (patch)
treed9d68594e5bfbe173525e4cd2cd3e29d45333f3e /FICS/addgroup.h
parentf670011d32f423690c540eb134d36d099ce1321c (diff)
Added new files
Diffstat (limited to 'FICS/addgroup.h')
-rw-r--r--FICS/addgroup.h17
1 files changed, 17 insertions, 0 deletions
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 <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 *);
+int read_the_group_permissions_file(const char *);
+__FICS_END_DECLS
+
+#endif