diff options
Diffstat (limited to 'src/irc/core/netsplit.h')
-rw-r--r-- | src/irc/core/netsplit.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/irc/core/netsplit.h b/src/irc/core/netsplit.h index c2d221da..c95b5c6f 100644 --- a/src/irc/core/netsplit.h +++ b/src/irc/core/netsplit.h @@ -4,10 +4,16 @@ #include "nicklist.h" typedef struct { - char *nick; - char *address; char *server; char *destserver; + int count; +} NETSPLIT_SERVER_REC; + +typedef struct { + NETSPLIT_SERVER_REC *server; + + char *nick; + char *address; GSList *channels; time_t destroy; @@ -24,4 +30,6 @@ void netsplit_deinit(void); NETSPLIT_REC *netsplit_find(IRC_SERVER_REC *server, const char *nick, const char *address); NICK_REC *netsplit_find_channel(IRC_SERVER_REC *server, const char *nick, const char *address, const char *channel); +int quitmsg_is_split(const char *msg); + #endif |