aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authoreihrul <eihrul>2007-09-01 02:42:31 +0000
committereihrul <eihrul>2007-09-01 02:42:31 +0000
commit506095210430f4581ff5027f70d395530686b85b (patch)
treef9a73aa70657afacf3406214f553538673713fc6 /include
parent57bb5e87bcc41400b49ec645ce8eb4b00f2c2c34 (diff)
downloadenet-506095210430f4581ff5027f70d395530686b85b.tar.gz
enet-506095210430f4581ff5027f70d395530686b85b.zip
*** empty log message ***
Diffstat (limited to 'include')
-rw-r--r--include/enet/enet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/enet/enet.h b/include/enet/enet.h
index d10e23e..dc415c2 100644
--- a/include/enet/enet.h
+++ b/include/enet/enet.h
@@ -286,6 +286,7 @@ typedef struct _ENetHost
int recalculateBandwidthLimits;
ENetPeer * peers; /**< array of peers allocated for this host */
size_t peerCount; /**< number of peers allocated for this host */
+ enet_uint32 serviceTime;
ENetPeer * lastServicedPeer;
int continueSending;
size_t packetSize;
@@ -440,6 +441,7 @@ extern enet_uint32 enet_crc32 (const ENetBuffer *, size_t);
ENET_API ENetHost * enet_host_create (const ENetAddress *, size_t, enet_uint32, enet_uint32);
ENET_API void enet_host_destroy (ENetHost *);
ENET_API ENetPeer * enet_host_connect (ENetHost *, const ENetAddress *, size_t);
+ENET_API int enet_host_check_events (ENetHost *, ENetEvent *);
ENET_API int enet_host_service (ENetHost *, ENetEvent *, enet_uint32);
ENET_API void enet_host_flush (ENetHost *);
ENET_API void enet_host_broadcast (ENetHost *, enet_uint8, ENetPacket *);