| 19 |
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 |
| 20 |
|
* USA |
| 21 |
|
* |
| 22 |
< |
* $Id: s_user.h,v 7.51 2005/09/17 10:30:21 michael Exp $ |
| 22 |
> |
* $Id$ |
| 23 |
|
*/ |
| 24 |
|
|
| 25 |
|
#ifndef INCLUDED_s_user_h |
| 30 |
|
#define TOTALSIDUID (IRC_MAXSID + IRC_MAXUID) |
| 31 |
|
|
| 32 |
|
struct Client; |
| 33 |
– |
struct AccessItem; |
| 33 |
|
|
| 34 |
< |
extern int MaxClientCount; /* GLOBAL - highest number of clients */ |
| 35 |
< |
extern int MaxConnectionCount; /* GLOBAL - highest number of connections */ |
| 34 |
> |
extern unsigned int MaxClientCount; /* GLOBAL - highest number of clients */ |
| 35 |
> |
extern unsigned int MaxConnectionCount; /* GLOBAL - highest number of connections */ |
| 36 |
|
extern struct Callback *entering_umode_cb; |
| 37 |
|
extern struct Callback *umode_cb; |
| 38 |
|
extern struct Callback *uid_get_cb; |
| 56 |
|
const char *, const char *, const char *, |
| 57 |
|
const char *); |
| 58 |
|
extern void init_uid(void); |
| 59 |
+ |
extern int valid_sid(const char *); |
| 60 |
|
extern int valid_hostname(const char *); |
| 61 |
|
extern int valid_username(const char *); |
| 62 |
|
extern void add_isupport(const char *, const char *, int); |