diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-04-21 12:26:42 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2020-04-21 12:27:11 +0200 |
commit | ebe38044fd26bdcc86baf3b8d486f48b3db3aa51 (patch) | |
tree | 857acdab4d11b56b2f00569307fbc989679287e4 /thirdparty/enet/patches | |
parent | 1061cf9f6634601d7c2b17b81f8f4699ee71d670 (diff) |
enet: Update to upstream version 1.3.15
Diffstat (limited to 'thirdparty/enet/patches')
-rw-r--r-- | thirdparty/enet/patches/dtls_support.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/thirdparty/enet/patches/dtls_support.patch b/thirdparty/enet/patches/dtls_support.patch new file mode 100644 index 0000000000..ce3480a858 --- /dev/null +++ b/thirdparty/enet/patches/dtls_support.patch @@ -0,0 +1,13 @@ +diff --git a/thirdparty/enet/enet/enet.h b/thirdparty/enet/enet/enet.h +index 966e3a465d..ac7552adb2 100644 +--- a/thirdparty/enet/enet/enet.h ++++ b/thirdparty/enet/enet/enet.h +@@ -578,6 +578,8 @@ ENET_API void enet_host_channel_limit (ENetHost *, size_t); + ENET_API void enet_host_bandwidth_limit (ENetHost *, enet_uint32, enet_uint32); + extern void enet_host_bandwidth_throttle (ENetHost *); + extern enet_uint32 enet_host_random_seed (void); ++ENET_API void enet_host_dtls_server_setup (ENetHost *, void *, void *); ++ENET_API void enet_host_dtls_client_setup (ENetHost *, void *, uint8_t, const char *); + + ENET_API int enet_peer_send (ENetPeer *, enet_uint8, ENetPacket *); + ENET_API ENetPacket * enet_peer_receive (ENetPeer *, enet_uint8 * channelID); |