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.2/include/ircd_defs.h (file contents), Revision 100 by michael, Sun Oct 9 14:43:13 2005 UTC vs.
ircd-hybrid/include/ircd_defs.h (file contents), Revision 1028 by michael, Sun Nov 8 13:03:38 2009 UTC

# Line 37 | Line 37
37  
38   /* Right out of the RFC */
39   #define IRCD_BUFSIZE    512     /* WARNING: *DONT* CHANGE THIS!!!!         */
40 < #define HOSTLEN         63      /* Length of hostname.  Updated to         */
41 <                                /* comply with RFC1123                     */
40 > #define HOSTLEN          63     /* Length of hostname. Updated to comply
41 >                                   with RFC 1123 */
42 > #define USERLEN          10
43   #define PORTNAMELEN 6  /* ":31337" */
44  
44 – #define USERLEN         10
45   #define REALLEN         50
46   #define KILLLEN         90
47   #define LOCAL_CHANNELLEN 50
# Line 63 | Line 63
63  
64   #define PLATFORMLEN     200     /* platform string used in info response */
65  
66 – #ifdef _WIN32
67 – #define EAFNOSUPPORT WSAEAFNOSUPPORT
68 – #define EALREADY     WSAEALREADY
69 – #define EINPROGRESS  WSAEINPROGRESS
70 – #define EISCONN      WSAEISCONN
71 – #define EMSGSIZE     WSAEMSGSIZE
72 – #define EWOULDBLOCK  WSAEWOULDBLOCK
73 –
74 – #define _UTSNAME_LENGTH 65
75 – #define _UTSNAME_NODENAME_LENGTH _UTSNAME_LENGTH
76 – #define _UTSNAME_DOMAIN_LENGTH _UTSNAME_LENGTH
77 – struct utsname
78 – {
79 –  char sysname[_UTSNAME_LENGTH];
80 –  char nodename[_UTSNAME_NODENAME_LENGTH];
81 –  char release[_UTSNAME_LENGTH];
82 –  char version[_UTSNAME_LENGTH];
83 –  char machine[_UTSNAME_LENGTH];
84 –  char domainname[_UTSNAME_DOMAIN_LENGTH];
85 – };
86 – int uname (struct utsname *);
87 – #endif
66  
67   /* This is to get around the fact that some implementations have ss_len and
68   * others do not

Diff Legend

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