• Main Page
  • Related Pages
  • Modules
  • Data Structures
  • Files
  • File List
  • Globals

callbacks.h

Go to the documentation of this file.
00001 
00005 #ifndef __ENET_CALLBACKS_H__
00006 #define __ENET_CALLBACKS_H__
00007 
00008 #include <stdlib.h>
00009 
00010 typedef struct _ENetCallbacks
00011 {
00012     void * (ENET_CALLBACK * malloc) (size_t size);
00013     void (ENET_CALLBACK * free) (void * memory);
00014     int (ENET_CALLBACK * rand) (void);
00015     void (ENET_CALLBACK * no_memory) (void);
00016 } ENetCallbacks;
00017 
00022 extern void * enet_malloc (size_t);
00023 extern void   enet_free (void *);
00024 extern int    enet_rand (void);
00025 
00028 #endif /* __ENET_CALLBACKS_H__ */
00029 

Generated on Wed Feb 9 2011 21:31:02 for enet by  doxygen 1.7.1