From 25c8948745a2b0b4697123acb05da9a0a829965b Mon Sep 17 00:00:00 2001 From: eihrul Date: Thu, 6 May 2010 13:44:47 +0000 Subject: ensure fragment outgoing commands are allocated atomically with respect to failure --- include/enet/enet.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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); -- cgit v1.2.3