added "first time" configuration (set up first bot and admin user)
[NeonServV5.git] / src / ClientSocket.h
index a9d9b4ba3508e5eb7c84348e68b4e582fed92622..78e207c0144b2372ca0967701d13c01691c87895 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
@@ -82,9 +83,13 @@ int close_socket(struct ClientSocket *client);
 int disconnect_socket(struct ClientSocket *client);
 int write_socket_force(struct ClientSocket *client, char* msg, int len);
 int write_socket(struct ClientSocket *client, char* msg, int len);
-void socket_loop(int timeout_seconds);
+#ifdef HAVE_THREADS
+int clientsocket_parseorder_top(unsigned int tid);
+#endif
+int 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