1 /*
2  *	aprsc
3  *
4  *	(c) Heikki Hannikainen, OH7LZB <hessu@hes.iki.fi>
5  *
6  *     This program is licensed under the BSD license, which can be found
7  *     in the file LICENSE.
8  *
9  */
10 
11 #ifndef HMALLOC_H
12 #define HMALLOC_H
13 
14 #include <stdio.h>
15 #include <stdlib.h>
16 
17 /*
18  *	Replacements for malloc, realloc and free, which never fail,
19  *	and might keep statistics on memory allocation...
20  */
21 
22 extern void *hmalloc(size_t size);
23 extern void *hrealloc(void *ptr, size_t size);
24 extern void hfree(void *ptr);
25 
26 extern char *hstrdup(const char *s);
27 
28 #endif
29 
30