xrdp/tests/memtest/libmem.h

21 lines
356 B
C
Raw Normal View History

2013-06-29 06:37:03 +04:00
#ifndef _LIBMEM_C
#define _LIBMEM_C
void *
2013-06-29 06:37:03 +04:00
libmem_init(unsigned int addr, int bytes);
void
libmem_deinit(void *aself);
2013-06-29 06:37:03 +04:00
unsigned int
libmem_alloc(void *obj, int bytes);
2013-06-29 06:37:03 +04:00
int
libmem_free(void *obj, unsigned int addr);
2013-06-29 06:37:03 +04:00
int
libmem_set_flags(void *obj, int flags);
2013-06-29 06:37:03 +04:00
int
libmem_clear_flags(void *obj, int flags);
2013-08-24 04:03:55 +04:00
int
libmem_get_alloced_bytes(void *obj);
2013-06-29 06:37:03 +04:00
#endif