3 #include "ClientSocket.h"
9 #include "WHOHandler.h"
11 #include "mysqlConn.h"
12 #include "HandleInfoHandler.h"
29 free_handleinfohandler();
44 init_handleinfohandler();
50 socket_wait = time(0) + SOCKET_SELECT_TIME;
52 socket_loop(SOCKET_SELECT_TIME);
53 } while(time(0) < socket_wait);
60 int stricmp (const char *s1, const char *s2)
62 if (s1 == NULL) return s2 == NULL ? 0 : -(*s2);
63 if (s2 == NULL) return *s1;
65 while ((c1 = tolower (*s1)) == (c2 = tolower (*s2)))
67 if (*s1 == '\0') break;
73 int stricmplen (const char *s1, const char *s2, int len)
75 if (s1 == NULL) return s2 == NULL ? 0 : -(*s2);
76 if (s2 == NULL) return *s1;
79 while ((c1 = tolower (*s1)) == (c2 = tolower (*s2)))
82 if (*s1 == '\0') break;