Merge branch 'development'
[NeonServV5.git] / src / ClientSocket.h
index f4fc57ab49b30b8951f59da950277819017a83ab..9e73fd1fbe72ba5c12dddfae51be0301e70a4632 100644 (file)
@@ -1,4 +1,4 @@
-/* ClientSocket.h - NeonServ v5.5
+/* ClientSocket.h - NeonServ v5.6
  * Copyright (C) 2011-2012  Philipp Kreil (pk910)
  * 
  * This program is free software: you can redistribute it and/or modify
@@ -84,6 +84,7 @@ struct ClientSocket {
 /* MODULAR ACCESSIBLE */ void connect_socket(struct ClientSocket *client);
 /* MODULAR ACCESSIBLE */ int close_socket(struct ClientSocket *client);
 /* MODULAR ACCESSIBLE */ int destroy_socket(struct ClientSocket *client);
+int write_socket_force(struct ClientSocket *client, char* msg, int len);
 /* MODULAR ACCESSIBLE */ int write_socket(struct ClientSocket *client, char* msg, int len);
 #ifdef HAVE_THREADS
 int clientsocket_parseorder_top(unsigned int tid);
@@ -91,6 +92,6 @@ int clientsocket_parseorder_top(unsigned int tid);
 /* MODULAR ACCESSIBLE */ void putsock(struct ClientSocket *client, const char *text, ...) PRINTF_LIKE(2, 3);
 /* MODULAR ACCESSIBLE */ struct ClientSocket* getBots(int flags, struct ClientSocket* last_bot);
 void init_sockets();
-void free_sockets();
+void free_sockets(int close_only);
 #endif
 #endif