9 #include <sys/socket.h>
10 #include <netinet/in.h>
11 #include <arpa/inet.h>
18 #define PRINTF_LIKE(M,N) __attribute__((format (printf, M, N)))
20 #define PRINTF_LIKE(M,N)
24 #define UNUSED_ARG(ARG) ARG __attribute__((unused))
25 #elif defined(S_SPLINT_S)
26 #define UNUSED_ARG(ARG) /*@unused@*/ ARG
27 #define const /*@observer@*/ /*@temp@*/
29 #define UNUSED_ARG(ARG) ARG
32 #define SOCKET_SELECT_TIME 2
40 #define CHANNELLEN 200
43 #define MAXNUMPARAMS 200 /* maximum number of parameters in one line */
46 #define VALID_NICK_CHARS "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890{|}~[\\]^_`"
47 //the first char is a little bit different
49 // 1234567890123456789012345678901234567890123456789012345678 9012 62
50 #define VALID_NICK_CHARS_FIRST "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ{|}~[\\]^_`"
51 #define VALID_NICK_CHARS_FIRST_LEN 62
53 #define TEMPUSER_LIST_INDEX VALID_NICK_CHARS_FIRST_LEN
55 int stricmp (const char *s1, const char *s2);
56 int stricmplen (const char *s1, const char *s2, int len);