X-Git-Url: http://git.pk910.de/?p=ircu2.10.12-pk.git;a=blobdiff_plain;f=include%2Fs_serv.h;fp=include%2Fs_serv.h;h=4d6706b67d15582a62473582766d1a2425dc5c47;hp=0000000000000000000000000000000000000000;hb=0400a5a6479398d82526785c18c0df8bc8b92dce;hpb=d17e10da972ce5776c60b4c317267c6abe0e1ead diff --git a/include/s_serv.h b/include/s_serv.h new file mode 100644 index 0000000..4d6706b --- /dev/null +++ b/include/s_serv.h @@ -0,0 +1,27 @@ +/** @file s_serv.h + * @brief Miscellaneous server support functions. + * @version $Id$ + */ +#ifndef INCLUDED_s_serv_h +#define INCLUDED_s_serv_h +#ifndef INCLUDED_sys_types_h +#include +#define INCLUDED_sys_types_h +#endif + +struct ConfItem; +struct Client; + +extern unsigned int max_connection_count; +extern unsigned int max_client_count; + +/* + * Prototypes + */ +extern int exit_new_server(struct Client* cptr, struct Client* sptr, + const char* host, time_t timestamp, const char* fmt, ...); +extern int a_kills_b_too(struct Client *a, struct Client *b); +extern int server_estab(struct Client *cptr, struct ConfItem *aconf); + + +#endif /* INCLUDED_s_serv_h */