aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorlsalzman <[email protected]>2013-02-27 16:29:22 +0200
committerlsalzman <[email protected]>2013-02-27 16:29:22 +0200
commit4ce4aac14954ee9c302708468ec6c0efd3a1ac2f (patch)
tree9b1d3003db23130c3461e501e885a28261fb8a1c /include
parent8ff344897a5937b45820b42127b70e1938f97ed0 (diff)
downloadenet-4ce4aac14954ee9c302708468ec6c0efd3a1ac2f.tar.gz
enet-4ce4aac14954ee9c302708468ec6c0efd3a1ac2f.zip
added ENET_PACKET_FLAG_SENT to indicate that a packet has been sent
Diffstat (limited to 'include')
-rw-r--r--include/enet/enet.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/enet/enet.h b/include/enet/enet.h
index a691f5e..07b9bbd 100644
--- a/include/enet/enet.h
+++ b/include/enet/enet.h
@@ -112,7 +112,10 @@ typedef enum _ENetPacketFlag
ENET_PACKET_FLAG_NO_ALLOCATE = (1 << 2),
/** packet will be fragmented using unreliable (instead of reliable) sends
* if it exceeds the MTU */
- ENET_PACKET_FLAG_UNRELIABLE_FRAGMENT = (1 << 3)
+ ENET_PACKET_FLAG_UNRELIABLE_FRAGMENT = (1 << 3),
+
+ /** whether the packet has been sent from all queues it has been entered into */
+ ENET_PACKET_FLAG_SENT = (1<<8)
} ENetPacketFlag;
typedef void (ENET_CALLBACK * ENetPacketFreeCallback) (struct _ENetPacket *);