libevent/mm-internal.h
Nick Mathewson 49868b618a r15316@tombo: nickm | 2008-04-24 20:58:36 -0400
Rename internal memory management functions from event_malloc() etc to mm_malloc() etc.


svn:r725
2008-04-25 01:18:08 +00:00

23 lines
380 B
C

#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