00001 /* 00002 * Copyright (c) 2005, 2006 by KoanLogic s.r.l. - All rights reserved. 00003 */ 00004 00005 #ifndef _U_ALLOC_H_ 00006 #define _U_ALLOC_H_ 00007 #include "libu_conf.h" 00008 #include <sys/types.h> 00009 00010 #ifdef __cplusplus 00011 extern "C" { 00012 #endif 00013 00014 void *u_malloc(size_t sz); 00015 void *u_zalloc(size_t sz); 00016 void *u_calloc(size_t cnt, size_t sz); 00017 void *u_realloc(void *ptr, size_t sz); 00018 void u_free(void *ptr); 00019 00020 #ifdef __cplusplus 00021 } 00022 #endif 00023 00024 #endif /* !_U_ALLOC_H_ */ 00025