diff options
author | ubq323 <ubq323@ubq323.website> | 2022-10-31 19:14:39 +0000 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2022-10-31 19:14:39 +0000 |
commit | 65fc26be19594c91b3af57c548c2e5c7307457f2 (patch) | |
tree | ed1857b7e5ac903896ecd8b6d1f43314748da584 /irc.h | |
parent | 1dc90feaf9d7db3c0e5d8233a5d60c46ee236c1c (diff) |
multiple channels are now supported
Diffstat (limited to 'irc.h')
-rw-r--r-- | irc.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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(); |