added config parser & incoming connection handler
[NextIRCd.git] / src / ircd_client.h
diff --git a/src/ircd_client.h b/src/ircd_client.h
new file mode 100644 (file)
index 0000000..e0e0735
--- /dev/null
@@ -0,0 +1,30 @@
+/* ircd_client.h - NextIRCd
+ * Copyright (C) 2012-2013  Philipp Kreil (pk910)
+ * 
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License 
+ * along with this program. If not, see <http://www.gnu.org/licenses/>. 
+ */
+
+#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);
+/* -- */
+
+
+#endif