]> jfr.im git - irc/quakenet/newserv.git/blame - splitlist/splitlist.h
HELPMOD2: make anti-idle kick message more informative
[irc/quakenet/newserv.git] / splitlist / splitlist.h
CommitLineData
c96aa815
P
1#ifndef __SPLITLIST_H
2#define __SPLITLIST_H
3
4#include <time.h>
5#include "../server/server.h"
6#include "../lib/array.h"
7
8typedef struct {
9 sstring *name; /* name of the server */
10 time_t ts; /* timestamp of the split */
11} splitserver;
12
13extern array splitlist;
14
15int sp_countsplitservers(void);
16int sp_issplitserver(const char *name);
17void sp_deletesplit(const char *name);
18void sp_addsplit(const char *name, time_t ts);
f011b15a 19int sp_countsplitservers(void);
c96aa815
P
20
21#endif /* __SPLITLIST_H */