X-Git-Url: https://jfr.im/git/irc/quakenet/newserv.git/blobdiff_plain/26cbd0999d84e80dc93d01bc7cc432b00c1b3f06..719d21bb856223e9ce264ced3ee1d179790e6131:/splitlist/splitlist.h diff --git a/splitlist/splitlist.h b/splitlist/splitlist.h index a8a0726d..21e07992 100644 --- a/splitlist/splitlist.h +++ b/splitlist/splitlist.h @@ -3,19 +3,24 @@ #include #include "../server/server.h" +#include "../serverlist/serverlist.h" #include "../lib/array.h" +#include "../lib/flags.h" typedef struct { sstring *name; /* name of the server */ time_t ts; /* timestamp of the split */ + flag_t type; } splitserver; extern array splitlist; -int sp_countsplitservers(void); -int sp_issplitserver(const char *name); void sp_deletesplit(const char *name); -void sp_addsplit(const char *name, time_t ts); -int sp_countsplitservers(void); +int sp_countsplitservers(flag_t orflags); +/* I don't see why this is exported... */ +/* +int sp_issplitserver(const char *name); +*/ +void sp_addsplit(const char *name, time_t ts, flag_t type); #endif /* __SPLITLIST_H */