packet.c File Reference


Detailed Description

#include <string.h>
#include "enet/enet.h"

Defines

#define ENET_BUILDING_LIB   1

Functions

ENetPacketenet_packet_create (const void *data, size_t dataLength, enet_uint32 flags)
 Creates a packet that may be sent to a peer.
void enet_packet_destroy (ENetPacket *packet)
 Destroys the packet and deallocates its data.
int enet_packet_resize (ENetPacket *packet, size_t dataLength)
 Attempts to resize the data in the packet to length specified in the dataLength parameter.
enet_uint32 enet_crc32 (const ENetBuffer *buffers, size_t bufferCount)


Generated on Wed Jun 6 14:33:50 2007 for enet by  doxygen 1.5.1