| 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 |
| 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 |
|
*/ |
| 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 */ |