]> jfr.im git - irc/quakenet/newserv.git/blame_incremental - splitlist/splitlist.h
CHANSERV: remove accidental sendemail from SETEMAIL command.
[irc/quakenet/newserv.git] / splitlist / splitlist.h
... / ...
CommitLineData
1#ifndef __SPLITLIST_H
2#define __SPLITLIST_H
3
4#include <time.h>
5#include "../server/server.h"
6#include "../serverlist/serverlist.h"
7#include "../lib/array.h"
8#include "../lib/flags.h"
9
10typedef struct {
11 sstring *name; /* name of the server */
12 time_t ts; /* timestamp of the split */
13 flag_t type;
14} splitserver;
15
16extern array splitlist;
17
18void sp_deletesplit(const char *name);
19int sp_countsplitservers(flag_t orflags);
20/* I don't see why these are exported... */
21/*
22int sp_issplitserver(const char *name);
23void sp_addsplit(const char *name, time_t ts);
24*/
25
26#endif /* __SPLITLIST_H */