summaryrefslogtreecommitdiff
path: root/src/irc/core/channels-setup.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/core/channels-setup.h')
-rw-r--r--src/irc/core/channels-setup.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/irc/core/channels-setup.h b/src/irc/core/channels-setup.h
new file mode 100644
index 00000000..0556019a
--- /dev/null
+++ b/src/irc/core/channels-setup.h
@@ -0,0 +1,27 @@
+#ifndef __CHANNELS_SETUP_H
+#define __CHANNELS_SETUP_H
+
+typedef struct {
+ int autojoin;
+
+ char *name;
+ char *ircnet;
+ char *password;
+
+ char *botmasks;
+ char *autosendcmd;
+
+ char *background;
+ char *font;
+} SETUP_CHANNEL_REC;
+
+extern GSList *setupchannels;
+
+void channels_setup_init(void);
+void channels_setup_deinit(void);
+
+void channels_setup_destroy(SETUP_CHANNEL_REC *channel);
+
+SETUP_CHANNEL_REC *channels_setup_find(const char *channel, IRC_SERVER_REC *server);
+
+#endif