#include <time.h>
#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);
+int sp_countsplitservers(flag_t orflags);
+/* I don't see why these are exported... */
+/*
+int sp_issplitserver(const char *name);
void sp_addsplit(const char *name, time_t ts);
-int sp_countsplitservers(void);
+*/
#endif /* __SPLITLIST_H */