00001 00007 #ifndef FISH_HALLOC_UTIL_H 00008 #define FISH_HALLOC_UTIL_H 00009 00015 extern void *global_context; 00016 00020 void halloc_util_init(); 00021 00025 void halloc_util_destroy(); 00026 00031 array_list_t *al_halloc( void *context ); 00032 00037 string_buffer_t *sb_halloc( void *context ); 00038 00044 void halloc_register_function_void( void *context, void (*func)() ); 00045 00052 void *halloc_register( void *context, void *data ); 00053 00058 wchar_t *halloc_wcsdup( void *context, const wchar_t *str ); 00059 00064 wchar_t *halloc_wcsndup( void * context, const wchar_t *in, int c ); 00065 00066 #endif
1.5.6