summaryrefslogtreecommitdiff
path: root/src/common-setup.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common-setup.h')
-rw-r--r--src/common-setup.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/src/common-setup.h b/src/common-setup.h
index 96549351..31205580 100644
--- a/src/common-setup.h
+++ b/src/common-setup.h
@@ -100,7 +100,6 @@ typedef struct
}
SETUP_SERVER_REC;
-/* servers */
extern GList *setupservers; /* list of local servers */
extern GList *ircnets; /* list of available ircnets */
extern gint server_reconnect_time; /* reconnect to server no sooner than n seconds */
@@ -110,6 +109,24 @@ extern IPADDR source_host_ip; /* Resolved address */
extern gchar *default_nick, *alternate_nick, *user_name, *real_name;
extern gboolean toggle_skip_motd;
+/* channels */
+typedef struct
+{
+ gboolean autojoin;
+ gchar *name;
+ gchar *ircnet;
+ gchar *password;
+
+ gchar *botmasks;
+ gchar *autosendcmd;
+
+ gchar *background;
+ gchar *font;
+}
+SETUP_CHANNEL_REC;
+
+extern GList *setupchannels;
+
/* IRC proxy */
extern gboolean toggle_use_ircproxy;
extern gchar *proxy_address;