Make IAuth protocol work again and add a bit of debugging to it.
[ircu2.10.12-pk.git] / include / packet.h
1 /*
2  * packet.h
3  *
4  * $Id$
5  */
6 #ifndef INCLUDED_packet_h
7 #define INCLUDED_packet_h
8 #ifndef INCLUDED_sys_types_h
9 #include <sys/types.h>
10 #define INCLUDED_sys_types_h
11 #endif
12
13 struct Client;
14
15 /*
16  * Prototypes
17  */
18
19 extern int server_dopacket(struct Client* cptr, const char* buffer, int length);
20 extern int connect_dopacket(struct Client* cptr, const char* buffer, int length);
21 extern int client_dopacket(struct Client* cptr, unsigned int length);
22
23 #endif /* INCLUDED_packet_h */