X-Git-Url: http://git.pk910.de/?p=ircu2.10.12-pk.git;a=blobdiff_plain;f=include%2Fpacket.h;fp=include%2Fpacket.h;h=aed45023942eca123883e8c90b07ff0945a517de;hp=0000000000000000000000000000000000000000;hb=0400a5a6479398d82526785c18c0df8bc8b92dce;hpb=d17e10da972ce5776c60b4c317267c6abe0e1ead diff --git a/include/packet.h b/include/packet.h new file mode 100644 index 0000000..aed4502 --- /dev/null +++ b/include/packet.h @@ -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 +#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 */