string-malloc.h 342 Bytes
Newer Older
Per Cederqvist's avatar
Per Cederqvist committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * Malloc wrappers for the string package.
 *
 * These functions call smalloc and also counts
 * how many allocated strings there are.
 */

extern  void *
string_malloc(size_t size);


extern  void
string_free(void * ptr);

extern  void *
string_realloc (void * ptr,
		size_t size);

extern void
dump_string_alloc_counts(FILE *stat_file);