#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