X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2FClientSocket.h;h=78e207c0144b2372ca0967701d13c01691c87895;hb=a0f5e337ee57df78939e9ddaccf9a18bcf811435;hp=80dcfe18501e04a6bee744e08456c6822da70cfc;hpb=382e8e7b3ee6d65c87ed795825cc3889fd915f3c;p=NeonServV5.git diff --git a/src/ClientSocket.h b/src/ClientSocket.h index 80dcfe1..78e207c 100644 --- a/src/ClientSocket.h +++ b/src/ClientSocket.h @@ -83,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