projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Author: Bleep <tomh@inxpress.net>
[ircu2.10.12-pk.git]
/
include
/
packet.h
diff --git
a/include/packet.h
b/include/packet.h
index 9c2c639030c714987321e60346973161b1a33e51..46f20560a09cabe3d1e210447fa09ebc6c91a2f3 100644
(file)
--- a/
include/packet.h
+++ b/
include/packet.h
@@
-1,11
+1,22
@@
-#ifndef PACKET_H
-#define PACKET_H
+/*
+ * packet.h
+ *
+ * $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;
-/*
=============================================================================
- * Proto
types
+/*
+ * Prototypes
*/
*/
-extern int
dopacket(aClient *cptr, char *
buffer, int length);
-extern int client_dopacket(
aClient *
cptr, size_t length);
+extern int
server_dopacket(struct Client* cptr, const char*
buffer, int length);
+extern int client_dopacket(
struct Client*
cptr, size_t length);
-#endif /*
PACKET_H
*/
+#endif /*
INCLUDED_packet_h
*/