fixed propagation of user mode changes (user should ALWAYS be notified)
[ircu2.10.12-pk.git] / include / packet.h
1 /** @file packet.h
2  * @brief Declarations for packet handling functions.
3  * @version $Id: packet.h 1231 2004-10-05 04:21:37Z entrope $
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 */