]> jfr.im git - irc/quakenet/snircd.git/blame - include/s_serv.h
forward port of asuka-check.patch to .12
[irc/quakenet/snircd.git] / include / s_serv.h
CommitLineData
189935b1 1/** @file s_serv.h
2 * @brief Miscellaneous server support functions.
3 * @version $Id: s_serv.h,v 1.7 2004/10/05 04:21:37 entrope Exp $
4 */
5#ifndef INCLUDED_s_serv_h
6#define INCLUDED_s_serv_h
7#ifndef INCLUDED_sys_types_h
8#include <sys/types.h>
9#define INCLUDED_sys_types_h
10#endif
11
12struct ConfItem;
13struct Client;
14
15extern unsigned int max_connection_count;
16extern unsigned int max_client_count;
17
18/*
19 * Prototypes
20 */
21extern int exit_new_server(struct Client* cptr, struct Client* sptr,
22 const char* host, time_t timestamp, const char* fmt, ...);
23extern int a_kills_b_too(struct Client *a, struct Client *b);
24extern int server_estab(struct Client *cptr, struct ConfItem *aconf);
25
26
27#endif /* INCLUDED_s_serv_h */