aboutsummaryrefslogtreecommitdiff
path: root/chanlist.h
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2023-01-24 17:35:12 +0000
committerubq323 <ubq323@ubq323.website>2023-01-24 17:35:12 +0000
commitc3d79d07b96c3e2bee7bbdfbc7ec3f6e7af59e17 (patch)
treeaa358412be78c9aa6967623b34b0b0d905abedb7 /chanlist.h
parent60a4a26ce76850f3d374d7206e702fbc6548f58b (diff)
support passwords for joining channels, and refactor channel list into a separate module
Diffstat (limited to 'chanlist.h')
-rw-r--r--chanlist.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/chanlist.h b/chanlist.h
new file mode 100644
index 0000000..95d428e
--- /dev/null
+++ b/chanlist.h
@@ -0,0 +1,13 @@
+#ifndef chanlist_h_INCLUDED
+#define chanlist_h_INCLUDED
+
+// list of channels to join
+extern char *g_chanlist[];
+// length of the above
+extern const int g_nchannels;
+// list of passwords for channels, or NULL if no password
+// parallel to g_chanlist
+extern char *g_chanpwlist[];
+
+#endif // chanlist_h_INCLUDED
+