Jens Axboe | d24c33a | 2008-03-01 18:27:36 +0100 | [diff] [blame] | 1 | #ifndef FIO_SMALLOC_H |
| 2 | #define FIO_SMALLOC_H |
| 3 | |
Jens Axboe | 7982aa7 | 2012-11-02 16:35:18 +0100 | [diff] [blame] | 4 | extern void *smalloc(size_t); |
Jens Axboe | d24c33a | 2008-03-01 18:27:36 +0100 | [diff] [blame] | 5 | extern void sfree(void *); |
| 6 | extern char *smalloc_strdup(const char *); |
| 7 | extern void sinit(void); |
| 8 | extern void scleanup(void); |
| 9 | |
Jens Axboe | 2b386d2 | 2008-03-26 10:32:57 +0100 | [diff] [blame] | 10 | extern unsigned int smalloc_pool_size; |
| 11 | |
Jens Axboe | d24c33a | 2008-03-01 18:27:36 +0100 | [diff] [blame] | 12 | #endif |