2018-03-22 08:14:13 +00:00
|
|
|
/*
|
2018-03-27 07:09:07 +00:00
|
|
|
| mem.h from Lsyncd - Live (Mirror) Syncing Demon
|
2018-03-27 06:54:14 +00:00
|
|
|
|
|
2018-03-22 08:14:13 +00:00
|
|
|
|
|
|
|
|
| Simple "secured" memory management.
|
|
|
|
|
|
2018-03-27 06:54:14 +00:00
|
|
|
|
|
2018-03-22 08:14:13 +00:00
|
|
|
| License: GPLv2 (see COPYING) or any later version
|
|
|
|
| Authors: Axel Kittenberger <axkibe@gmail.com>
|
|
|
|
*/
|
2018-03-27 07:09:07 +00:00
|
|
|
#ifndef LSYNCD_MEM_H
|
|
|
|
#define LSYNCD_MEM_H
|
2018-03-22 08:14:13 +00:00
|
|
|
|
2018-03-23 08:34:33 +00:00
|
|
|
extern void * s_calloc( size_t nmemb, size_t size );
|
|
|
|
extern void * s_malloc( size_t size );
|
|
|
|
extern void * s_realloc( void *ptr, size_t size );
|
|
|
|
extern char * s_strdup( const char *src );
|
2018-03-22 08:14:13 +00:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|