23 lines
583 B
C
23 lines
583 B
C
/** @file packet.h
|
|
* @brief Declarations for packet handling functions.
|
|
* @version $Id: packet.h 1231 2004-10-05 04:21:37Z entrope $
|
|
*/
|
|
#ifndef INCLUDED_packet_h
|
|
#define INCLUDED_packet_h
|
|
#ifndef INCLUDED_sys_types_h
|
|
#include <sys/types.h>
|
|
#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 */
|