|
BSL v1.0.0 - 16.g9d98179
AMMOS Bundle Protocol Security Library (BSL)
|
Dynamic memory callback descriptors used by Dynamic BPA descriptor. More...
#include <BPSecLib_Public.h>
Collaboration diagram for BSL_DynMemHostDescriptors_t:Data Fields | |
| void *(* | malloc_cb )(size_t size) |
| Dynamic memory allocation callback. | |
| void *(* | realloc_cb )(void *ptr, size_t size) |
| Dynamic memory re-allocation callback. | |
| void *(* | calloc_cb )(size_t nmemb, size_t size) |
| Contiguous dynamic memory allocation callback. | |
| void(* | free_cb )(void *ptr) |
| Free dynamic memory allocation callback. | |
Dynamic memory callback descriptors used by Dynamic BPA descriptor.
These are meant to be used as part of BSL_HostDescriptors_t for registering host callbacks.
| void *(* BSL_DynMemHostDescriptors_t::calloc_cb) (size_t nmemb, size_t size) |
Contiguous dynamic memory allocation callback.
Referenced by BSL_calloc(), and BSL_HostDescriptors_Set().
| void(* BSL_DynMemHostDescriptors_t::free_cb) (void *ptr) |
Free dynamic memory allocation callback.
Referenced by BSL_free(), and BSL_HostDescriptors_Set().
| void *(* BSL_DynMemHostDescriptors_t::malloc_cb) (size_t size) |
Dynamic memory allocation callback.
Referenced by BSL_HostDescriptors_Set(), BSL_malloc(), and suiteSetUp().
| void *(* BSL_DynMemHostDescriptors_t::realloc_cb) (void *ptr, size_t size) |
Dynamic memory re-allocation callback.
Referenced by BSL_HostDescriptors_Set(), and BSL_realloc().