Merge branch 'u2_10_12_branch' of git://git.code.sf.net/p/undernet-ircu/ircu2
[ircu2.10.12-pk.git] / include / packet.h
diff --git a/include/packet.h b/include/packet.h
new file mode 100644 (file)
index 0000000..aed4502
--- /dev/null
@@ -0,0 +1,22 @@
+/** @file packet.h
+ * @brief Declarations for packet handling functions.
+ * @version $Id$
+ */
+#ifndef INCLUDED_packet_h
+#define INCLUDED_packet_h
+#ifndef INCLUDED_sys_types_h
+#include <sys/types.h>
+#define INCLUDED_sys_types_h
+#endif
+
+struct Client;
+
+/*
+ * Prototypes
+ */
+
+extern int server_dopacket(struct Client* cptr, const char* buffer, int length);
+extern int connect_dopacket(struct Client* cptr, const char* buffer, int length);
+extern int client_dopacket(struct Client* cptr, unsigned int length);
+
+#endif /* INCLUDED_packet_h */