/** @file callbacks.c @brief ENet callback functions */ #define ENET_BUILDING_LIB … #include "enet/enet.h" static ENetCallbacks callbacks = …; int enet_initialize_with_callbacks (ENetVersion version, const ENetCallbacks * inits) { … } ENetVersion enet_linked_version (void) { … } void * enet_malloc (size_t size) { … } void enet_free (void * memory) { … }