| 30 |
|
#define TOTALSIDUID (IRC_MAXSID + IRC_MAXUID) |
| 31 |
|
|
| 32 |
|
struct Client; |
| 33 |
– |
struct AccessItem; |
| 33 |
|
|
| 34 |
< |
extern int MaxClientCount; /* GLOBAL - highest number of clients */ |
| 36 |
< |
extern int MaxConnectionCount; /* GLOBAL - highest number of connections */ |
| 37 |
< |
extern struct Callback *entering_umode_cb; |
| 38 |
< |
extern struct Callback *umode_cb; |
| 39 |
< |
extern struct Callback *uid_get_cb; |
| 40 |
< |
extern unsigned int user_modes[]; |
| 34 |
> |
extern const unsigned int user_modes[]; |
| 35 |
|
|
| 36 |
|
extern void assemble_umode_buffer(void); |
| 37 |
< |
extern void set_user_mode(struct Client *, struct Client *, int, char **); |
| 37 |
> |
extern void set_user_mode(struct Client *, struct Client *, const int, char *[]); |
| 38 |
|
extern void send_umode(struct Client *, struct Client *, |
| 39 |
|
unsigned int, unsigned int, char *); |
| 40 |
|
extern void send_umode_out(struct Client *, struct Client *, unsigned int); |
| 42 |
|
extern void show_isupport(struct Client *); |
| 43 |
|
extern void oper_up(struct Client *); |
| 44 |
|
|
| 45 |
< |
extern void register_local_user(struct Client *, struct Client *, |
| 46 |
< |
const char *, const char *); |
| 53 |
< |
extern void register_remote_user(struct Client *, struct Client *, |
| 45 |
> |
extern void register_local_user(struct Client *); |
| 46 |
> |
extern void register_remote_user(struct Client *, |
| 47 |
|
const char *, const char *, |
| 48 |
|
const char *, const char *); |
| 56 |
– |
extern void do_local_user(const char *, struct Client *, struct Client *, |
| 57 |
– |
const char *, const char *, const char *, |
| 58 |
– |
const char *); |
| 49 |
|
extern void init_uid(void); |
| 50 |
|
extern int valid_sid(const char *); |
| 51 |
|
extern int valid_hostname(const char *); |
| 52 |
< |
extern int valid_username(const char *); |
| 52 |
> |
extern int valid_username(const char *, const int); |
| 53 |
> |
extern int valid_nickname(const char *, const int); |
| 54 |
|
extern void add_isupport(const char *, const char *, int); |
| 55 |
|
extern void delete_isupport(const char *); |
| 56 |
|
extern void init_isupport(void); |
| 57 |
|
extern void rebuild_isupport_message_line(void); |
| 58 |
+ |
extern void user_set_hostmask(struct Client *, const char *); |
| 59 |
|
|
| 60 |
|
#endif |