aboutsummaryrefslogtreecommitdiffstats
path: root/FICS
diff options
context:
space:
mode:
Diffstat (limited to 'FICS')
-rw-r--r--FICS/lists.h49
1 files changed, 39 insertions, 10 deletions
diff --git a/FICS/lists.h b/FICS/lists.h
index d53d7e0..bbfeba6 100644
--- a/FICS/lists.h
+++ b/FICS/lists.h
@@ -1,22 +1,51 @@
-/* lists.h */
+/* lists.h
+ *
+ * Revised by maxxe 23/12/15
+ */
#include <stdio.h>
#ifndef _LISTS_H
#define _LISTS_H
-/* yes, it's all cheesy.. there is no significance to the order, but make
- sure it matches the order in lists.c */
-
-enum ListWhich {L_ADMIN = 0, L_REMOVEDCOM, L_FILTER, L_BAN, L_ABUSER,
-L_MUZZLE, L_CMUZZLE, L_FM, L_IM, L_GM, L_BLIND, L_TEAMS, L_COMPUTER,
-L_TD, L_CENSOR, L_GNOTIFY, L_NOPLAY, L_NOTIFY, L_CHANNEL};
+enum ListWhich {
+ L_ADMIN = 0,
+ L_REMOVEDCOM,
+ L_FILTER,
+ L_BAN,
+ L_ABUSER,
+ L_MUZZLE,
+ L_CMUZZLE,
+ L_FM,
+ L_IM,
+ L_GM,
+ L_BLIND,
+ L_TEAMS,
+ L_COMPUTER,
+ L_TD,
+ L_CENSOR,
+ L_GNOTIFY,
+ L_NOPLAY,
+ L_NOTIFY,
+ L_CHANNEL
+};
-enum ListPerm {P_HEAD = 0, P_GOD, P_ADMIN, P_PUBLIC, P_PERSONAL};
+enum ListPerm {
+ P_HEAD = 0,
+ P_GOD,
+ P_ADMIN,
+ P_PUBLIC,
+ P_PERSONAL
+};
-typedef struct {enum ListPerm rights; char *name;} ListTable;
+typedef struct {
+ enum ListPerm rights;
+ char *name;
+} ListTable;
-/* max. names in one list: 200 */
+/*
+ * Max names in one list.
+ */
#define MAX_GLOBAL_LIST_SIZE 200
typedef struct _List List;