mirror of
https://github.com/irssi/irssi.git
synced 2024-09-15 04:28:09 -04:00
28 lines
540 B
C
28 lines
540 B
C
|
#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
|