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
00011 {
00012     void * (ENET_CALLBACK * malloc) (size_t size);
00013     void (ENET_CALLBACK * free) (void * memory);
00014     int (ENET_CALLBACK * rand) (void);
00015 } ENetCallbacks;
00016 
00021 extern void * enet_malloc (size_t);
00022 extern void   enet_free (void *);
00023 extern int    enet_rand (void);
00024 
00027 #endif /* __ENET_CALLBACKS_H__ */
00028 

Generated on Wed Jun 6 14:33:50 2007 for enet by  doxygen 1.5.1