| 30 |
|
#define TOTALSIDUID (IRC_MAXSID + IRC_MAXUID) |
| 31 |
|
|
| 32 |
|
struct Client; |
| 33 |
< |
struct AccessItem; |
| 34 |
< |
struct ConfItem; |
| 33 |
> |
struct OperatorConf; |
| 34 |
> |
|
| 35 |
> |
extern char new_uid[]; |
| 36 |
|
|
| 37 |
|
void init_uid(void); |
| 38 |
|
void init_isupport(void); |
| 39 |
+ |
void *change_simple_umode(va_list); |
| 40 |
+ |
void *do_uid_get(va_list); |
| 41 |
+ |
void *do_authorize_client(va_list); |
| 42 |
|
|
| 43 |
|
EXTERN int MaxClientCount; /* GLOBAL - highest number of clients */ |
| 44 |
|
EXTERN int MaxConnectionCount; /* GLOBAL - highest number of connections */ |
| 45 |
+ |
EXTERN struct Callback *authorize_client; |
| 46 |
|
EXTERN struct Callback *entering_umode_cb; |
| 47 |
|
EXTERN struct Callback *umode_cb; |
| 48 |
< |
EXTERN struct Callback *uid_get_cb; |
| 48 |
> |
EXTERN struct Callback *uid_get; |
| 49 |
|
EXTERN unsigned int user_modes[]; |
| 50 |
|
|
| 51 |
|
EXTERN void assemble_umode_buffer(void); |
| 54 |
|
unsigned int, unsigned int, char *); |
| 55 |
|
EXTERN void send_umode_out(struct Client *, struct Client *, unsigned int); |
| 56 |
|
EXTERN void show_lusers(struct Client *); |
| 57 |
< |
EXTERN void show_isupport(struct Client *); |
| 58 |
< |
EXTERN void oper_up(struct Client *, struct ConfItem *); |
| 59 |
< |
|
| 55 |
< |
EXTERN void register_local_user(struct Client *, struct Client *, |
| 56 |
< |
const char *, const char *); |
| 57 |
> |
EXTERN void oper_up(struct Client *, struct OperatorConf *); |
| 58 |
> |
EXTERN void *reject_user(struct Client *, const char *); |
| 59 |
> |
EXTERN void *register_local_user(struct Client *, const char *); |
| 60 |
|
EXTERN void register_remote_user(struct Client *, struct Client *, |
| 61 |
|
const char *, const char *, |
| 62 |
|
const char *, const char *); |
| 60 |
– |
EXTERN void do_local_user(const char *, struct Client *, struct Client *, |
| 61 |
– |
const char *, const char *, const char *, |
| 62 |
– |
const char *); |
| 63 |
|
EXTERN int valid_hostname(const char *); |
| 64 |
|
EXTERN int valid_username(const char *); |
| 65 |
|
EXTERN void add_isupport(const char *, const char *, int); |
| 66 |
|
EXTERN void delete_isupport(const char *); |
| 67 |
|
EXTERN void rebuild_isupport_message_line(void); |
| 68 |
+ |
EXTERN char *get_oper_name(const struct Client *); |
| 69 |
|
|
| 70 |
|
#endif |