diff options
author | eihrul <eihrul> | 2007-05-31 09:19:01 +0000 |
---|---|---|
committer | eihrul <eihrul> | 2007-05-31 09:19:01 +0000 |
commit | dab70852907f8b4bfc51652d05423ffd5da1bbd1 (patch) | |
tree | 6287f1c51e697fa818ecd6a1c3b51d2bd3a389f5 /include | |
parent | 277c53f12bf780aa3013169d0faf9e8677a71616 (diff) | |
download | enet-dab70852907f8b4bfc51652d05423ffd5da1bbd1.tar.gz enet-dab70852907f8b4bfc51652d05423ffd5da1bbd1.zip |
*** empty log message ***
Diffstat (limited to 'include')
-rw-r--r-- | include/enet/enet.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/enet/enet.h b/include/enet/enet.h index 913e39f..d10e23e 100644 --- a/include/enet/enet.h +++ b/include/enet/enet.h @@ -101,13 +101,18 @@ typedef void (ENET_CALLBACK * ENetPacketFreeCallback) (struct _ENetPacket *); * * ENET_PACKET_FLAG_RELIABLE - packet must be received by the target peer * and resend attempts should be made until the packet is delivered + * + * ENET_PACKET_FLAG_UNSEQUENCED - packet will not be sequenced with other packets + * (not supported for reliable packets) + * + * ENET_PACKET_FLAG_NO_ALLOCATE - packet will not allocate data, and user must supply it instead @sa ENetPacketFlag */ typedef struct _ENetPacket { size_t referenceCount; /**< internal use only */ - enet_uint32 flags; /**< bitwise or of ENetPacketFlag constants */ + enet_uint32 flags; /**< bitwise-or of ENetPacketFlag constants */ enet_uint8 * data; /**< allocated data for packet */ size_t dataLength; /**< length of data */ ENetPacketFreeCallback freeCallback; /**< function to be called when the packet is no longer in use */ |