enet: callbacks.h Source File

enet

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

callbacks.h
Go to the documentation of this file.
1
5 #ifndef __ENET_CALLBACKS_H__
6 #define __ENET_CALLBACKS_H__
7
8 #include <stdlib.h>
9
10 typedef struct _ENetCallbacks
11 {
12 void * (ENET_CALLBACK * malloc) (size_t size);
13 void (ENET_CALLBACK * free) (void * memory);
14 void (ENET_CALLBACK * no_memory) (void);
15 } ENetCallbacks;
16
21 extern void * enet_malloc (size_t);
22 extern void enet_free (void *);
23
26 #endif /* __ENET_CALLBACKS_H__ */
27
_ENetCallbacks
Definition: callbacks.h:10