]> jfr.im git - irc/quakenet/snircd.git/blob - include/packet.h
Initial import of 2.10.12.01
[irc/quakenet/snircd.git] / include / packet.h
1 /** @file packet.h
2 * @brief Declarations for packet handling functions.
3 * @version $Id: packet.h,v 1.8 2004/10/05 04:21:37 entrope Exp $
4 */
5 #ifndef INCLUDED_packet_h
6 #define INCLUDED_packet_h
7 #ifndef INCLUDED_sys_types_h
8 #include <sys/types.h>
9 #define INCLUDED_sys_types_h
10 #endif
11
12 struct Client;
13
14 /*
15 * Prototypes
16 */
17
18 extern int server_dopacket(struct Client* cptr, const char* buffer, int length);
19 extern int connect_dopacket(struct Client* cptr, const char* buffer, int length);
20 extern int client_dopacket(struct Client* cptr, unsigned int length);
21
22 #endif /* INCLUDED_packet_h */