aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authoreihrul <eihrul>2010-05-06 13:44:47 +0000
committereihrul <eihrul>2010-05-06 13:44:47 +0000
commit25c8948745a2b0b4697123acb05da9a0a829965b (patch)
treef8a328d0a942eca319286823a6d3dec74e057787 /include
parent41ccbd2f3f5fca4e427aa99c3b06a573eabb7853 (diff)
downloadenet-25c8948745a2b0b4697123acb05da9a0a829965b.tar.gz
enet-25c8948745a2b0b4697123acb05da9a0a829965b.zip
ensure fragment outgoing commands are allocated atomically with respect to failure
Diffstat (limited to 'include')
-rw-r--r--include/enet/enet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/enet/enet.h b/include/enet/enet.h
index dca564c..7870723 100644
--- a/include/enet/enet.h
+++ b/include/enet/enet.h
@@ -478,6 +478,7 @@ ENET_API void enet_peer_disconnect_later (ENetPeer *, enet_uint32
ENET_API void enet_peer_throttle_configure (ENetPeer *, enet_uint32, enet_uint32, enet_uint32);
extern int enet_peer_throttle (ENetPeer *, enet_uint32);
extern void enet_peer_reset_queues (ENetPeer *);
+extern void enet_peer_setup_outgoing_command (ENetPeer *, ENetOutgoingCommand *, ENetPacket *, enet_uint32, enet_uint16);
extern ENetOutgoingCommand * enet_peer_queue_outgoing_command (ENetPeer *, const ENetProtocol *, ENetPacket *, enet_uint32, enet_uint16);
extern ENetIncomingCommand * enet_peer_queue_incoming_command (ENetPeer *, const ENetProtocol *, ENetPacket *, enet_uint32);
extern ENetAcknowledgement * enet_peer_queue_acknowledgement (ENetPeer *, const ENetProtocol *, enet_uint16);