ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/include/conf.h
(Generate patch)

Comparing ircd-hybrid-7.2/include/s_conf.h (file contents):
Revision 56 by michael, Mon Oct 3 11:33:30 2005 UTC vs.
Revision 885 by michael, Wed Oct 31 18:09:24 2007 UTC

# Line 65 | Line 65 | typedef enum
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 */
# Line 137 | Line 151 | struct ClassItem
151    int number_per_cidr;
152    dlink_list list_ipv4;         /* base of per cidr ipv4 client link list */
153    dlink_list list_ipv6;         /* base of per cidr ipv6 client link list */
154 +  int active;
155   };
156  
157   struct CidrItem
# Line 262 | Line 277 | struct CidrItem
277   #define IsConfCryptLink(x)      ((x)->flags & CONF_FLAGS_CRYPTLINK)
278   #define SetConfCryptLink(x)     ((x)->flags |= CONF_FLAGS_CRYPTLINK)
279   #define ClearConfCryptLink(x)   ((x)->flags &= ~CONF_FLAGS_CRYPTLINK)
265 – #define IsConfLazyLink(x)       ((x)->flags & CONF_FLAGS_LAZY_LINK)
266 – #define SetConfLazyLink(x)      ((x)->flags = CONF_FLAGS_LAZY_LINK)
267 – #define ClearConfLazyLink(x)    ((x)->flags &= ~CONF_FLAGS_LAZY_LINK)
280   #define IsConfAllowAutoConn(x)  ((x)->flags & CONF_FLAGS_ALLOW_AUTO_CONN)
281   #define SetConfAllowAutoConn(x) ((x)->flags |= CONF_FLAGS_ALLOW_AUTO_CONN)
282   #define ClearConfAllowAutoConn(x) ((x)->flags &= ~CONF_FLAGS_ALLOW_AUTO_CONN)
# Line 324 | Line 336 | struct config_file_entry
336    MessageFile linksfile;
337  
338    unsigned char compression_level;
339 +  int max_watch;
340    int gline_min_cidr;
341    int gline_min_cidr6;
342    int dot_in_ip6_addr;
# Line 339 | Line 352 | struct config_file_entry
352    int kline_with_reason;
353    int warn_no_nline;
354    int invisible_on_connect;
355 +  int stats_e_disabled;
356    int stats_o_oper_only;
357    int stats_k_oper_only;
358    int stats_i_oper_only;
# Line 382 | Line 396 | struct config_file_entry
396  
397   struct config_channel_entry
398   {
399 +  int disable_fake_channels;
400    int restrict_channels;
401    int disable_local_channels;
402    int use_except;
# Line 389 | Line 404 | struct config_channel_entry
404    int use_knock;
405    int knock_delay;
406    int knock_delay_channel;
392 –  int invite_ops_only;
407    unsigned int max_bans;
408    unsigned int max_chans_per_user;
409    int no_create_on_split;
# Line 454 | Line 468 | struct logging_entry
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;
# Line 501 | Line 514 | extern struct AccessItem *find_kill(stru
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 *,
# Line 519 | Line 532 | extern void add_temp_line(struct ConfIte
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  
# Line 546 | Line 559 | extern time_t valid_tkline(char *, int);
559   extern int match_conf_password(const char *, const struct AccessItem *);
560  
561   #define NOT_AUTHORIZED    (-1)
562 < #define IRCD_SOCKET_ERROR (-2)
563 < #define I_LINE_FULL       (-3)
564 < #define TOO_MANY          (-4)
565 < #define BANNED_CLIENT     (-5)
553 < #define TOO_FAST          (-6)
562 > #define I_LINE_FULL       (-2)
563 > #define TOO_MANY          (-3)
564 > #define BANNED_CLIENT     (-4)
565 > #define TOO_FAST          (-5)
566  
567   #define CLEANUP_TKLINES_TIME 60
568  

Diff Legend

– Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)