X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=include%2Fpacket.h;h=46f20560a09cabe3d1e210447fa09ebc6c91a2f3;hb=ae91ef6320f611af74e70a0db2620c338fbaa7d5;hp=9c2c639030c714987321e60346973161b1a33e51;hpb=eeff5dd006459c6c56f025f13852fdafb2961339;p=ircu2.10.12-pk.git diff --git a/include/packet.h b/include/packet.h index 9c2c639..46f2056 100644 --- a/include/packet.h +++ b/include/packet.h @@ -1,11 +1,22 @@ -#ifndef PACKET_H -#define PACKET_H +/* + * packet.h + * + * $Id$ + */ +#ifndef INCLUDED_packet_h +#define INCLUDED_packet_h +#ifndef INCLUDED_sys_types_h +#include +#define INCLUDED_sys_types_h +#endif + +struct Client; -/*============================================================================= - * Proto types +/* + * Prototypes */ -extern int dopacket(aClient *cptr, char *buffer, int length); -extern int client_dopacket(aClient *cptr, size_t length); +extern int server_dopacket(struct Client* cptr, const char* buffer, int length); +extern int client_dopacket(struct Client* cptr, size_t length); -#endif /* PACKET_H */ +#endif /* INCLUDED_packet_h */