H5P_SET_FILTER_CALLBACK sets the user-defined filter callback function
func in the dataset transfer property list
op_data is a pointer to user-defined input data for the callback function and will be passed through to the callback function.
The callback function
func defines the actions an application is to take when a filter fails. The function prototype is as follows:
typedef H5Z_cb_return_t (
filter_id, void *
buf_size, void *
filter_id indicates which filter has failed,
buf_size are used to pass in the failed data, and
op_data is the required input data for this callback function.
Valid callback function return values are