diff --git a/mm-internal.h b/mm-internal.h new file mode 100644 index 00000000..52a6fa5b --- /dev/null +++ b/mm-internal.h @@ -0,0 +1,22 @@ + +#ifndef _EVENT_MM_INTERNAL_H +#define _EVENT_MM_INTERNAL_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/* Internal use only: Memory allocation functions. */ +void *event_malloc(size_t sz); +void *event_calloc(size_t count, size_t size); +char *event_strdup(const char *s); +void *event_realloc(void *p, size_t sz); +void event_free(void *p); + +#ifdef __cplusplus +} +#endif + +#endif