summaryrefslogtreecommitdiff
path: root/mm-internal.h
blob: 52a6fa5b3ba9d98bc806f85e5e98e742b52f3932 (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 *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