]> jfr.im git - irc/quakenet/newserv.git/blobdiff - splitlist/splitlist.h
LUA: add function for channel chanop notice
[irc/quakenet/newserv.git] / splitlist / splitlist.h
index a8a0726daf4b3b0dbdf154c4991ca1cd3f008107..eaa2e0eed0ac1a138fe3794647dde71a3d130a7b 100644 (file)
@@ -3,19 +3,24 @@
 
 #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 */