38 #include "libComAPI.h" 55 LIBCOM_API
int dbmfInit(
size_t size,
int chunkItems);
90 LIBCOM_API
char *
dbmfStrcat3(
const char *lhs,
const char *mid,
97 LIBCOM_API
void dbmfFree(
void *bytes);
LIBCOM_API char * dbmfStrcat3(const char *lhs, const char *mid, const char *rhs)
Concatenate three strings.
LIBCOM_API void * dbmfMalloc(size_t bytes)
Allocate memory.
LIBCOM_API void dbmfFreeChunks(void)
Free all chunks that contain only free items.
LIBCOM_API void dbmfFree(void *bytes)
Free the memory allocated by dbmfMalloc.
LIBCOM_API int dbmfShow(int level)
Show the status of the dbmf memory pool.
LIBCOM_API int dbmfInit(size_t size, int chunkItems)
Initialize the facility.
LIBCOM_API char * dbmfStrdup(const char *str)
Duplicate a string.
LIBCOM_API char * dbmfStrndup(const char *str, size_t len)
Duplicate a string (up to len bytes).