215 |
|
char *egdpool_path; |
216 |
|
char *service_name; |
217 |
|
|
218 |
< |
int gline_min_cidr; |
219 |
< |
int gline_min_cidr6; |
220 |
< |
int dots_in_ident; |
221 |
< |
int failed_oper_notice; |
222 |
< |
int anti_spam_exit_message_time; |
218 |
> |
unsigned int gline_min_cidr; |
219 |
> |
unsigned int gline_min_cidr6; |
220 |
> |
unsigned int dots_in_ident; |
221 |
> |
unsigned int failed_oper_notice; |
222 |
> |
unsigned int anti_spam_exit_message_time; |
223 |
|
unsigned int max_accept; |
224 |
|
unsigned int max_watch; |
225 |
< |
int max_nick_time; |
225 |
> |
unsigned int max_nick_time; |
226 |
|
unsigned int max_nick_changes; |
227 |
< |
int ts_max_delta; |
228 |
< |
int ts_warn_delta; |
229 |
< |
int anti_nick_flood; |
230 |
< |
int warn_no_connect_block; |
231 |
< |
int invisible_on_connect; |
232 |
< |
int stats_e_disabled; |
233 |
< |
int stats_o_oper_only; |
234 |
< |
int stats_k_oper_only; |
235 |
< |
int stats_i_oper_only; |
236 |
< |
int stats_P_oper_only; |
237 |
< |
int stats_u_oper_only; |
238 |
< |
int short_motd; |
239 |
< |
int no_oper_flood; |
240 |
< |
int true_no_oper_flood; |
241 |
< |
int oper_pass_resv; |
242 |
< |
int glines; |
243 |
< |
int hide_spoof_ips; |
244 |
< |
int tkline_expire_notices; |
245 |
< |
int opers_bypass_callerid; |
246 |
< |
int ignore_bogus_ts; |
247 |
< |
int pace_wait; |
248 |
< |
int pace_wait_simple; |
249 |
< |
int gline_time; |
250 |
< |
int gline_request_time; |
227 |
> |
unsigned int ts_max_delta; |
228 |
> |
unsigned int ts_warn_delta; |
229 |
> |
unsigned int anti_nick_flood; |
230 |
> |
unsigned int warn_no_connect_block; |
231 |
> |
unsigned int invisible_on_connect; |
232 |
> |
unsigned int stats_e_disabled; |
233 |
> |
unsigned int stats_o_oper_only; |
234 |
> |
unsigned int stats_k_oper_only; |
235 |
> |
unsigned int stats_i_oper_only; |
236 |
> |
unsigned int stats_P_oper_only; |
237 |
> |
unsigned int stats_u_oper_only; |
238 |
> |
unsigned int short_motd; |
239 |
> |
unsigned int no_oper_flood; |
240 |
> |
unsigned int true_no_oper_flood; |
241 |
> |
unsigned int oper_pass_resv; |
242 |
> |
unsigned int glines; |
243 |
> |
unsigned int hide_spoof_ips; |
244 |
> |
unsigned int tkline_expire_notices; |
245 |
> |
unsigned int opers_bypass_callerid; |
246 |
> |
unsigned int ignore_bogus_ts; |
247 |
> |
unsigned int pace_wait; |
248 |
> |
unsigned int pace_wait_simple; |
249 |
> |
unsigned int gline_time; |
250 |
> |
unsigned int gline_request_time; |
251 |
|
unsigned int oper_only_umodes; |
252 |
|
unsigned int oper_umodes; |
253 |
|
unsigned int max_targets; |
254 |
< |
int caller_id_wait; |
255 |
< |
int min_nonwildcard; |
256 |
< |
int min_nonwildcard_simple; |
257 |
< |
int kill_chase_time_limit; |
258 |
< |
int default_floodcount; |
254 |
> |
unsigned int caller_id_wait; |
255 |
> |
unsigned int min_nonwildcard; |
256 |
> |
unsigned int min_nonwildcard_simple; |
257 |
> |
unsigned int kill_chase_time_limit; |
258 |
> |
unsigned int default_floodcount; |
259 |
|
/* 0 == don't use throttle... */ |
260 |
< |
int throttle_time; |
261 |
< |
int use_egd; |
262 |
< |
int ping_cookie; |
263 |
< |
int disable_auth; |
264 |
< |
int cycle_on_host_change; |
260 |
> |
unsigned int throttle_time; |
261 |
> |
unsigned int use_egd; |
262 |
> |
unsigned int ping_cookie; |
263 |
> |
unsigned int disable_auth; |
264 |
> |
unsigned int cycle_on_host_change; |
265 |
|
}; |
266 |
|
|
267 |
|
struct config_channel_entry |
268 |
|
{ |
269 |
< |
int disable_fake_channels; |
269 |
> |
unsigned int disable_fake_channels; |
270 |
|
unsigned int invite_client_count; |
271 |
|
unsigned int invite_client_time; |
272 |
|
unsigned int knock_client_count; |
273 |
|
unsigned int knock_client_time; |
274 |
< |
int knock_delay_channel; |
274 |
> |
unsigned int knock_delay_channel; |
275 |
|
unsigned int max_bans; |
276 |
|
unsigned int max_chans_per_user; |
277 |
|
unsigned int max_chans_per_oper; |
278 |
< |
int no_create_on_split; |
279 |
< |
int no_join_on_split; |
280 |
< |
int default_split_server_count; |
281 |
< |
int default_split_user_count; |
278 |
> |
unsigned int no_create_on_split; |
279 |
> |
unsigned int no_join_on_split; |
280 |
> |
unsigned int default_split_server_count; |
281 |
> |
unsigned int default_split_user_count; |
282 |
|
}; |
283 |
|
|
284 |
|
struct config_server_hide |
285 |
|
{ |
286 |
|
char *hidden_name; |
287 |
< |
int flatten_links; |
288 |
< |
int disable_remote_commands; |
289 |
< |
int hide_servers; |
290 |
< |
int hide_services; |
291 |
< |
int links_delay; |
292 |
< |
int links_disabled; |
293 |
< |
int hidden; |
294 |
< |
int hide_server_ips; |
287 |
> |
unsigned int flatten_links; |
288 |
> |
unsigned int disable_remote_commands; |
289 |
> |
unsigned int hide_servers; |
290 |
> |
unsigned int hide_services; |
291 |
> |
unsigned int links_delay; |
292 |
> |
unsigned int links_disabled; |
293 |
> |
unsigned int hidden; |
294 |
> |
unsigned int hide_server_ips; |
295 |
|
}; |
296 |
|
|
297 |
|
struct server_info |
305 |
|
void *rsa_private_key; |
306 |
|
void *server_ctx; |
307 |
|
void *client_ctx; |
308 |
< |
int hub; |
308 |
> |
unsigned int hub; |
309 |
|
struct irc_ssaddr ip; |
310 |
|
struct irc_ssaddr ip6; |
311 |
|
unsigned int max_clients; |
312 |
|
unsigned int max_nick_length; |
313 |
|
unsigned int max_topic_length; |
314 |
< |
int specific_ipv4_vhost; |
315 |
< |
int specific_ipv6_vhost; |
314 |
> |
unsigned int specific_ipv4_vhost; |
315 |
> |
unsigned int specific_ipv6_vhost; |
316 |
|
struct sockaddr_in dns_host; |
317 |
< |
int can_use_v6; |
317 |
> |
unsigned int can_use_v6; |
318 |
|
}; |
319 |
|
|
320 |
|
struct admin_info |