aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2023-12-15 00:29:57 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2023-12-15 00:29:57 +0100
commitb928e98f7415fa2b8d65b5dff186c69522600e66 (patch)
tree17cf5ab663792bd950feb93643dfb73de2cf4c7d
parent6252a292e82662415cf20f3fe183aaafa44ab948 (diff)
Reformatted what was left
-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;