summaryrefslogtreecommitdiff
path: root/mm-internal.h
blob: 070ff6f02cb0ef4598109893bcb76cd62d74430b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

#ifndef _EVENT_MM_INTERNAL_H
#define _EVENT_MM_INTERNAL_H

#include <sys/types.h>

#ifdef __cplusplus
extern "C" {
#endif

/* Internal use only: Memory allocation functions. */
void *mm_malloc(size_t sz);
void *mm_calloc(size_t count, size_t size);
char *mm_strdup(const char *s);
void *mm_realloc(void *p, size_t sz);
void mm_free(void *p);

#ifdef __cplusplus
}
#endif

#endif