X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2FClientSocket.h;h=1ab71397d2ec182564a619c63004cdb1f59fc578;hb=c32e8254ec4ed0d77757e32f8aa5aabcdb494057;hp=a9d9b4ba3508e5eb7c84348e68b4e582fed92622;hpb=feec2fc3392690a6cfaf9d17e23996e0ce118859;p=NeonServV5.git diff --git a/src/ClientSocket.h b/src/ClientSocket.h index a9d9b4b..1ab7139 100644 --- a/src/ClientSocket.h +++ b/src/ClientSocket.h @@ -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); +#ifdef HAVE_THREADS +int clientsocket_parseorder_top(unsigned long tid); +#endif 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