|
Open SCAP Library
|
OpenScap allocation helpers. More...
#include <stdlib.h>Go to the source code of this file.
Macros | |
| #define | OSCAP_ALLOC_H |
| #define | oscap_alloc(s) __oscap_alloc_dbg (s, __PRETTY_FUNCTION__, __LINE__) |
| malloc wrapper | |
| #define | oscap_calloc(n, s) __oscap_calloc_dbg (n, s, __PRETTY_FUNCTION__, __LINE__) |
| calloc wrapper | |
| #define | oscap_realloc(p, s) __oscap_realloc_dbg ((void *)(p), s, __PRETTY_FUNCTION__, __LINE__) |
| realloc wrapper | |
| #define | oscap_reallocf(p, s) __oscap_reallocf_dbg ((void *)(p), s, __PRETTY_FUNCTION__, __LINE__) |
| realloc wrapper freeing old memory on failure | |
| #define | oscap_free(p) __oscap_free_dbg ((void **)((void *)&(p)), __PRETTY_FUNCTION__, __LINE__) |
| free wrapper | |
OpenScap allocation helpers.
1.8.10