added some code
[NextIRCd.git] / src / ircd_client.h
index c4a68a091d435e6e3b4d30aace100bbb449258f9..4a726af3a6c35062e464de7af45823577a960830 100644 (file)
 #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