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
44 #define VALID_NICK_CHARS "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890{|}~[\\]^_`"
45 //the first char is a little bit different
47 // 1234567890123456789012345678901234567890123456789012345678 9012 62
48 #define VALID_NICK_CHARS_FIRST "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ{|}~[\\]^_`"
49 #define VALID_NICK_CHARS_FIRST_LEN 62
51 #define TEMPUSER_LIST_INDEX VALID_NICK_CHARS_FIRST_LEN
53 int stricmp (const char *s1, const char *s2);