| 31 |
|
|
| 32 |
|
struct Client; |
| 33 |
|
|
| 34 |
< |
extern struct Callback *entering_umode_cb; |
| 35 |
< |
extern struct Callback *umode_cb; |
| 36 |
< |
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); |
| 50 |
|
extern int valid_sid(const char *); |
| 51 |
|
extern int valid_hostname(const char *); |
| 52 |
|
extern int valid_username(const char *); |
| 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 |