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

Comparing ircd-hybrid/trunk/include/conf_class.h (file contents):
Revision 1662 by michael, Sat Nov 17 20:11:33 2012 UTC vs.
Revision 1783 by michael, Thu Jan 24 19:26:51 2013 UTC

# Line 28 | Line 28
28   #ifndef INCLUDED_conf_class_h
29   #define INCLUDED_conf_class_h
30  
31 + #define CLASS_FLAGS_RANDOM_IDLE          0x1
32 + #define CLASS_FLAGS_HIDE_IDLE_FROM_OPERS 0x2
33 +
34   struct ClassItem
35   {
36    char *name;
# Line 44 | Line 47 | struct ClassItem
47    unsigned int max_global;
48    unsigned int max_ident;
49    unsigned int max_perip;
50 +  unsigned int min_idle;
51 +  unsigned int max_idle;
52    unsigned int cidr_bitlen_ipv4;
53    unsigned int cidr_bitlen_ipv6;
54    unsigned int number_per_cidr;
55 +  unsigned int flags;
56    unsigned int active;
57   };
58  
# Line 54 | Line 60 | struct ClassItem
60   extern struct ClassItem *class_default;
61  
62   extern struct ClassItem *class_make(void);
63 + extern struct ClassItem *get_class_ptr(const dlink_list *const);
64   extern const dlink_list *class_get_list(void);
65   extern void class_free(struct ClassItem *);
66   extern void class_init(void);

Diff Legend

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