added experimental multi thread support
[NeonServV5.git] / src / ClientSocket.h
index a9d9b4ba3508e5eb7c84348e68b4e582fed92622..4073a23b38570778980337c5c1e575d0b6466bc9 100644 (file)
@@ -29,6 +29,7 @@
 #define SOCKET_FLAG_HAVE_SSL  0x80
 #define SOCKET_FLAG_QUITTED   0x100
 #define SOCKET_FLAG_FAST_JUMP 0x200
+#define SOCKET_FLAG_SILENT    0x400
 
 #define SOCKET_HAVE_BOTCLASSVALUE1 0x10000000
 #define SOCKET_HAVE_BOTCLASSVALUE2 0x20000000
@@ -85,6 +86,7 @@ int write_socket(struct ClientSocket *client, char* msg, int len);
 void socket_loop(int timeout_seconds);
 void putsock(struct ClientSocket *client, const char *text, ...) PRINTF_LIKE(2, 3);
 struct ClientSocket* getBots(int flags, struct ClientSocket* last_bot);
+void init_sockets();
 void free_sockets();
 
 #endif
\ No newline at end of file