Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/network/src/enet/callbacks.h @ 470

Last change on this file since 470 was 134, checked in by scheusso, 17 years ago

nothing so far

File size: 533 bytes
Line 
1/**
2 @file  callbacks.h
3 @brief ENet callbacks
4*/
5#ifndef __ENET_CALLBACKS_H__
6#define __ENET_CALLBACKS_H__
7
8#include <stdlib.h>
9
10typedef struct
11{
12    void * (ENET_CALLBACK * malloc) (size_t size);
13    void (ENET_CALLBACK * free) (void * memory);
14    int (ENET_CALLBACK * rand) (void);
15} ENetCallbacks;
16
17/** @defgroup callbacks ENet internal callbacks
18    @{
19    @ingroup private
20*/
21extern void * enet_malloc (size_t);
22extern void   enet_free (void *);
23extern int    enet_rand (void);
24
25/** @} */
26
27#endif /* __ENET_CALLBACKS_H__ */
28
Note: See TracBrowser for help on using the repository browser.