diff options
author | Timo Sirainen <cras@irssi.org> | 2000-04-26 08:03:38 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-04-26 08:03:38 +0000 |
commit | c95034c6de1bf72536595e1e3431d8ec64b9880e (patch) | |
tree | e51aa4528257ed8aa9d53640649519f299aaf0c7 /src/irc/core/netsplit.h | |
parent | d01b094151705d433bc43cae9eeb304e6f110a17 (diff) | |
download | irssi-c95034c6de1bf72536595e1e3431d8ec64b9880e.zip |
..adding new files..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@171 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/core/netsplit.h')
-rw-r--r-- | src/irc/core/netsplit.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/irc/core/netsplit.h b/src/irc/core/netsplit.h new file mode 100644 index 00000000..c2d221da --- /dev/null +++ b/src/irc/core/netsplit.h @@ -0,0 +1,27 @@ +#ifndef __NETSPLIT_H +#define __NETSPLIT_H + +#include "nicklist.h" + +typedef struct { + char *nick; + char *address; + char *server; + char *destserver; + GSList *channels; + + time_t destroy; +} NETSPLIT_REC; + +typedef struct { + char *name; + NICK_REC nick; +} NETSPLIT_CHAN_REC; + +void netsplit_init(void); +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); + +#endif |