X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2FClientSocket.h;h=8d7ba76597ca4c2d9547cdb732a70421b606961b;hb=9d77ca8f63040a3945f634090be990fdeb05c2f3;hp=1ef009c148471a8d3395c98a52a3c163ee962a78;hpb=7c283fbc460a559c4e83becfb9583f8c9de129a0;p=NeonServV5.git diff --git a/src/ClientSocket.h b/src/ClientSocket.h index 1ef009c..8d7ba76 100644 --- a/src/ClientSocket.h +++ b/src/ClientSocket.h @@ -40,6 +40,7 @@ struct ClientSocket { unsigned int bufferpos; char *host; int port; + char *bind; char *pass; char *nick; char *ident; @@ -64,7 +65,7 @@ struct ClientSocket { struct ClientSocket *next; }; -struct ClientSocket* create_socket(char *host, int port, char *pass, char *nick, char *ident, char *realname); +struct ClientSocket* create_socket(char *host, int port, char *bindto, char *pass, char *nick, char *ident, char *realname); int connect_socket(struct ClientSocket *client); int close_socket(struct ClientSocket *client); int write_socket_force(struct ClientSocket *client, char* msg, int len);