Merge branch 'directory-operation' of https://github.com/friendy-su/fio
[fio.git] / smalloc.h
1 #ifndef FIO_SMALLOC_H
2 #define FIO_SMALLOC_H
3
4 #include <stddef.h>
5
6 extern void *smalloc(size_t);
7 extern void *scalloc(size_t, size_t);
8 extern void sfree(void *);
9 extern char *smalloc_strdup(const char *);
10 extern void sinit(void);
11 extern void scleanup(void);
12 extern void smalloc_debug(size_t);
13
14 extern unsigned int smalloc_pool_size;
15
16 #endif