summaryrefslogtreecommitdiff
path: root/src/common-setup.h
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>1999-09-04 20:06:53 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>1999-09-04 20:06:53 +0000
commitafee6cfa8f18aac4a4006ec03404c9a4a9cde005 (patch)
tree39b4b114d471ccf4117a0fda2ed99de84d6d81ec /src/common-setup.h
parent409fd911865510d3d4a091058427de16b032ab95 (diff)
downloadirssi-afee6cfa8f18aac4a4006ec03404c9a4a9cde005.zip
Autojoining to channels work with irssi-text too
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@15 dbcabf3a-b0e7-0310-adc4-f8d773084564
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;