65 |
|
GDENY_TYPE |
66 |
|
} ConfType; |
67 |
|
|
68 |
+ |
struct split_nuh_item |
69 |
+ |
{ |
70 |
+ |
dlink_node node; |
71 |
+ |
|
72 |
+ |
char *nuhmask; |
73 |
+ |
char *nickptr; |
74 |
+ |
char *userptr; |
75 |
+ |
char *hostptr; |
76 |
+ |
|
77 |
+ |
size_t nicksize; |
78 |
+ |
size_t usersize; |
79 |
+ |
size_t hostsize; |
80 |
+ |
}; |
81 |
+ |
|
82 |
|
struct ConfItem |
83 |
|
{ |
84 |
|
char *name; /* Primary key */ |
468 |
|
char failed_operlog[PATH_MAX + 1]; |
469 |
|
}; |
470 |
|
|
457 |
– |
extern unsigned int scount; |
471 |
|
extern int ypass; |
472 |
|
extern dlink_list class_items; |
473 |
|
extern dlink_list server_items; |
514 |
|
extern struct AccessItem *find_gline(struct Client *); |
515 |
|
extern int conf_connect_allowed(struct irc_ssaddr *, int); |
516 |
|
extern char *oper_privs_as_string(const unsigned int); |
517 |
< |
extern void split_nuh(char *mask, char **nick, char **user, char **host); |
517 |
> |
extern void split_nuh(struct split_nuh_item *); |
518 |
|
extern struct ConfItem *find_matching_name_conf(ConfType, const char *, |
519 |
|
const char *, const char *, int); |
520 |
|
extern struct ConfItem *find_exact_name_conf(ConfType, const char *, |
532 |
|
extern void cleanup_tklines(void *); |
533 |
|
extern const char *get_conf_name(ConfType); |
534 |
|
extern int rehash(int); |
535 |
< |
extern int conf_add_server(struct ConfItem *, unsigned int, const char *); |
535 |
> |
extern int conf_add_server(struct ConfItem *, const char *); |
536 |
|
extern void conf_add_class_to_conf(struct ConfItem *, const char *); |
537 |
|
extern void conf_add_d_conf(struct AccessItem *); |
538 |
|
|