![]() |
HDF5
1.15.0.919ce7a
API Reference
|
#include <src/H5FDpublic.h>
Define structure to hold file image callbacks
Data Fields | |
void *(* | image_malloc )(size_t size, H5FD_file_image_op_t file_image_op, void *udata) |
void *(* | image_memcpy )(void *dest, const void *src, size_t size, H5FD_file_image_op_t file_image_op, void *udata) |
void *(* | image_realloc )(void *ptr, size_t size, H5FD_file_image_op_t file_image_op, void *udata) |
herr_t(* | image_free )(void *ptr, H5FD_file_image_op_t file_image_op, void *udata) |
void *(* | udata_copy )(void *udata) |
herr_t(* | udata_free )(void *udata) |
void * | udata |
The final field in the H5FD_file_image_callbacks_t struct, provides a pointer to user-defined data. This pointer will be passed to the image_malloc, image_memcpy, image_realloc, and image_free callbacks. Define udata as NULL if no user-defined data is provided. More... | |
herr_t(* image_free) (void *ptr, H5FD_file_image_op_t file_image_op, void *udata) |
[in] | ptr | Pointer to the buffer being reallocated |
[in] | file_image_op | A value from H5FD_file_image_op_t indicating the operation being performed on the file image when this callback is invoked |
[in] | udata | Value passed in in the H5Pset_file_image_callbacks parameter udata |
void*(* image_malloc) (size_t size, H5FD_file_image_op_t file_image_op, void *udata) |
[in] | size | Size in bytes of the file image buffer to allocate |
[in] | file_image_op | A value from H5FD_file_image_op_t indicating the operation being performed on the file image when this callback is invoked |
[in] | udata | Value passed in in the H5Pset_file_image_callbacks parameter udata |
void*(* image_memcpy) (void *dest, const void *src, size_t size, H5FD_file_image_op_t file_image_op, void *udata) |
[in] | dest | Address of the destination buffer |
[in] | src | Address of the source buffer |
[in] | size | Size in bytes of the file image buffer to allocate |
[in] | file_image_op | A value from H5FD_file_image_op_t indicating the operation being performed on the file image when this callback is invoked |
[in] | udata | Value passed in in the H5Pset_file_image_callbacks parameter udata |
void*(* image_realloc) (void *ptr, size_t size, H5FD_file_image_op_t file_image_op, void *udata) |
[in] | ptr | Pointer to the buffer being reallocated |
[in] | size | Size in bytes of the file image buffer to allocate |
[in] | file_image_op | A value from H5FD_file_image_op_t indicating the operation being performed on the file image when this callback is invoked |
[in] | udata | Value passed in in the H5Pset_file_image_callbacks parameter udata |
void* udata |
The final field in the H5FD_file_image_callbacks_t struct, provides a pointer to user-defined data. This pointer will be passed to the image_malloc, image_memcpy, image_realloc, and image_free callbacks. Define udata as NULL if no user-defined data is provided.
void*(* udata_copy) (void *udata) |
[in] | udata | Value passed in in the H5Pset_file_image_callbacks parameter udata |
[in] | udata | Value passed in in the H5Pset_file_image_callbacks parameter udata |