aboutsummaryrefslogtreecommitdiff
path: root/irc.h
diff options
context:
space:
mode:
Diffstat (limited to 'irc.h')
-rw-r--r--irc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/irc.h b/irc.h
index a56379d..870508f 100644
--- a/irc.h
+++ b/irc.h
@@ -10,8 +10,15 @@
#define IRC_RECVBUF_SIZE 1024
+// fd of the irc connection socket
extern int g_ircsock;
+// list of channels to join
+extern char *g_chanlist[];
+// length of the above
+extern const int g_nchannels;
+
+
// connects to the irc server, as defined in config.h
// returns -1 on failure.
int irc_connect();