aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authoreihrul <eihrul>2005-10-08 19:55:11 +0000
committereihrul <eihrul>2005-10-08 19:55:11 +0000
commit102f1e22cf02bb19ef53a824e31d34c766ebb2a7 (patch)
tree934c4c4524f10a52bdaba40ec1cb2df90753cf2c /include
parentef1e78507359fc34620f727877ae7e39e981eb52 (diff)
downloadenet-102f1e22cf02bb19ef53a824e31d34c766ebb2a7.tar.gz
enet-102f1e22cf02bb19ef53a824e31d34c766ebb2a7.zip
documentation update
Diffstat (limited to 'include')
-rw-r--r--include/enet/enet.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/enet/enet.h b/include/enet/enet.h
index 6ed12af..4966a1a 100644
--- a/include/enet/enet.h
+++ b/include/enet/enet.h
@@ -334,6 +334,13 @@ typedef struct _ENetEvent
*/
ENET_API int enet_initialize (void);
+/**
+ Initializes ENet and sets the callbacks provided in the ENetCallbacks structure.
+ Callbacks that are set to NULL will simply use the default ENet functions.
+ ENET_VERSION should be passed in as the first argument so that ENet may verify the
+ callbacks available.
+ @returns 0 on success, < 0 on failure
+*/
ENET_API int enet_initialize_with_callbacks (ENetVersion version, const ENetCallbacks * inits);
/**