]>
Commit | Line | Data |
---|---|---|
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 | ||
12 | struct ConfItem; | |
13 | struct Client; | |
14 | ||
15 | extern unsigned int max_connection_count; | |
16 | extern unsigned int max_client_count; | |
17 | ||
18 | /* | |
19 | * Prototypes | |
20 | */ | |
21 | extern int exit_new_server(struct Client* cptr, struct Client* sptr, | |
22 | const char* host, time_t timestamp, const char* fmt, ...); | |
23 | extern int a_kills_b_too(struct Client *a, struct Client *b); | |
24 | extern int server_estab(struct Client *cptr, struct ConfItem *aconf); | |
25 | ||
26 | ||
27 | #endif /* INCLUDED_s_serv_h */ |