Typedefs | |
typedef void *(TIDY_CALL * | TidyMalloc )(size_t len) |
typedef void *(TIDY_CALL * | TidyRealloc )(void *buf, size_t len) |
typedef void(TIDY_CALL * | TidyFree )(void *buf) |
typedef void(TIDY_CALL * | TidyPanic )(ctmbstr mssg) |
Functions | |
Bool TIDY_CALL | tidySetMallocCall (TidyMalloc fmalloc) |
Bool TIDY_CALL | tidySetReallocCall (TidyRealloc frealloc) |
Bool TIDY_CALL | tidySetFreeCall (TidyFree ffree) |
Bool TIDY_CALL | tidySetPanicCall (TidyPanic fpanic) |
May be used to set environment-specific allocators such as used by web server plugins, etc.
|
Callback for "malloc" replacement |
|
Callback for "realloc" replacement |
|
Callback for "free" replacement |
|
Callback for "out of memory" panic state |
|
Give Tidy a malloc() replacement |
|
Give Tidy a realloc() replacement |
|
Give Tidy a free() replacement |
|
Give Tidy an "out of memory" handler |