X-Git-Url: http://git.pk910.de/?p=NextIRCd.git;a=blobdiff_plain;f=src%2Fircd_client.h;h=4a726af3a6c35062e464de7af45823577a960830;hp=c4a68a091d435e6e3b4d30aace100bbb449258f9;hb=b71e2c21fa000761fa80d66597f880496d9f45f2;hpb=40162886a576c23a3ac2189dede4cb8216bc0c8e diff --git a/src/ircd_client.h b/src/ircd_client.h index c4a68a0..4a726af 100644 --- a/src/ircd_client.h +++ b/src/ircd_client.h @@ -18,13 +18,11 @@ #ifndef _ircd_client_h #define _ircd_client_h -struct Connection; +struct Auth; +struct Client; -/* -- called from ircd_sock.c */ -void client_connected(struct Connection *conn); -void client_disconnected(struct Connection *conn); -/* -- */ - -void client_printf(struct Connection *conn, const char *text, ...); +struct Client *client_connected(struct Auth *auth); +void client_printf(struct Client *client, const char *text, ...); +void client_exit(struct Client *client, char *reason); #endif