X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=include%2Fpacket.h;h=aed45023942eca123883e8c90b07ff0945a517de;hb=refs%2Fheads%2Fupstream-ssl;hp=46f20560a09cabe3d1e210447fa09ebc6c91a2f3;hpb=ae91ef6320f611af74e70a0db2620c338fbaa7d5;p=ircu2.10.12-pk.git diff --git a/include/packet.h b/include/packet.h index 46f2056..aed4502 100644 --- a/include/packet.h +++ b/include/packet.h @@ -1,7 +1,6 @@ -/* - * packet.h - * - * $Id$ +/** @file packet.h + * @brief Declarations for packet handling functions. + * @version $Id$ */ #ifndef INCLUDED_packet_h #define INCLUDED_packet_h @@ -17,6 +16,7 @@ struct Client; */ extern int server_dopacket(struct Client* cptr, const char* buffer, int length); -extern int client_dopacket(struct Client* cptr, size_t 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 */