]>
jfr.im git - irc/quakenet/newserv.git/blob - server/server.h
6 #include "../lib/sstring.h"
7 #include "../irc/irc_config.h"
9 #define LS_INVALID 0 /* No server here */
10 #define LS_LINKED 1 /* Server fully linked */
11 #define LS_LINKING 2 /* This actual server is bursting */
12 #define LS_PLINKING 3 /* Some other server between here and there is bursting */
13 #define LS_SQUIT 4 /* This server is being deleted due to a SQUIT */
23 extern server serverlist
[MAXSERVERS
];
25 int handleservermsg(void *source
, int cargc
, char **cargv
);
26 int handleeobmsg(void *source
, int cargc
, char **argv
);
27 int handlesquitmsg(void *source
, int cargc
, char **cargv
);
28 void handledisconnect(int hooknum
, void *arg
);
29 void deleteserver(long servernum
);
30 int findserver(const char *name
);