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

Comparing:
ircd-hybrid-7.3/include/ircd_defs.h (file contents), Revision 1123 by michael, Sun Feb 6 21:57:50 2011 UTC vs.
ircd-hybrid/trunk/include/ircd_defs.h (file contents), Revision 1592 by michael, Sat Oct 27 21:02:32 2012 UTC

# Line 41 | Line 41
41   #define USERLEN          10
42   #define PORTNAMELEN 6  /* ":31337" */
43  
44 + #define HOSTIPLEN       45 /* sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255") */
45 + #define PASSWDLEN       20
46 + #define IDLEN           12 /* this is the maximum length, not the actual
47 +                              generated length; DO NOT CHANGE! */
48   #define REALLEN         50
49   #define KILLLEN         90
50   #define LOCAL_CHANNELLEN 50
# Line 48 | Line 52
52   #define REASONLEN       120
53   #define KICKLEN         160
54   #define AWAYLEN         160
55 <
52 < /* 23+1 for \0 */
53 < #define KEYLEN          24
54 < #define OPERNICKLEN     NICKLEN*2 /* Length of OPERNICKs. */
55 > #define KEYLEN          23
56  
57   #define USERHOST_REPLYLEN       (NICKLEN+HOSTLEN+USERLEN+5)
58   #define MAX_DATE_STRING 32      /* maximum string length for a date string */
59 < #define IRCD_MAXNS      2       /* Maximum number of nameservers in
59 > #define IRCD_MAXNS      3       /* Maximum number of nameservers in
60                                     /etc/resolv.conf we care about */
61  
62   #define LOWEST_SAFE_FD  4       /* skip stdin, stdout, stderr, and profiler */
63  
63 – #define PLATFORMLEN     200     /* platform string used in info response */
64 –
65 –
64   /* This is to get around the fact that some implementations have ss_len and
65   * others do not
66   */
# Line 72 | Line 70 | struct irc_ssaddr
70    unsigned char   ss_len;
71    in_port_t       ss_port;
72   };
75 –
76 – #define REJECT_HOLD_TIME GlobalSetOptions.rejecttime
77 –
73   #endif /* INCLUDED_ircd_defs_h */

Diff Legend

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