]>
Commit | Line | Data |
---|---|---|
1 | #ifndef __SPLITLIST_H | |
2 | #define __SPLITLIST_H | |
3 | ||
4 | #include <time.h> | |
5 | #include "../server/server.h" | |
6 | #include "../lib/array.h" | |
7 | ||
8 | typedef struct { | |
9 | sstring *name; /* name of the server */ | |
10 | time_t ts; /* timestamp of the split */ | |
11 | } splitserver; | |
12 | ||
13 | extern array splitlist; | |
14 | ||
15 | int sp_countsplitservers(void); | |
16 | int sp_issplitserver(const char *name); | |
17 | void sp_deletesplit(const char *name); | |
18 | void sp_addsplit(const char *name, time_t ts); | |
19 | int sp_countsplitservers(void); | |
20 | ||
21 | #endif /* __SPLITLIST_H */ |