/* * $Id$ * * Header file of mr_mem: a set of function manipulating memory * Provided under the GPL v2 */ #ifndef MR_MEM_H #define MR_MEM_H /* functions (public methods) */ extern void mr_free(char *allocated); extern void mr_allocstr(char *alloc, const char *orig); extern void mr_asprintf(char **alloc, const char *fmt, ...); extern void mr_vasprintf(char **alloc, const char *fmt, va_list ap); extern void mr_getline(char **lineptr, size_t *n, FILE *stream); extern void *mr_malloc(size_t size); #endif /* MR_MEM_H */