added some code
[NextIRCd.git] / src / ircd_client.h
index e0e07355936297d39e2042d817d911b22e3d37b4..4a726af3a6c35062e464de7af45823577a960830 100644 (file)
 #ifndef _ircd_client_h
 #define _ircd_client_h
 
-struct Connection;
-
-/* -- called from ircd_sock.c */
-void client_connected(struct Connection *conn);
-void client_disconnected(struct Connection *conn);
-void client_recv(struct Connection *conn, char *line);
-/* -- */
+struct Auth;
+struct Client;
 
+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