*push*
[NeonServV5.git] / ClientSocket.h
index 3fff1e87f66e4f062621d4779ebf2158a0b7398a..dd8df540a02e437ecb4e578ac4ca1fd3ca6c0c7e 100644 (file)
@@ -22,12 +22,12 @@ struct ClientSocket {
     struct UserNode *user;
     
     struct ClientSocket *next;
-}
+};
 
-struct ClientSocket* create_socket(char *host, int *port, char *pass, struct UserNode *user);
-int connect_socket(struct ClientSocket *socket);
-int close_socket(struct ClientSocket *socket);
-int write_socket(struct ClientSocket *socket, char* msg, int len);
-void socket_loop(int timeout);
+struct ClientSocket* create_socket(char *host, int port, char *pass, struct UserNode *user);
+int connect_socket(struct ClientSocket *client);
+int close_socket(struct ClientSocket *client);
+int write_socket(struct ClientSocket *client, char* msg, int len);
+void socket_loop(int timeout_seconds);
 
 #endif
\ No newline at end of file