H5Pset_object_flush_cb

fnherr_t H5Pset_object_flush_cb(hid_t plist_id, H5F_flush_cb_t func, void * udata)

Sets the object flush callback in the file access property list.

Parameters

plist_idFile access property list identifier
funcCallback function to invoke when an object is flushed
udataUser data to pass to the callback

Returns

Non-negative on success, negative on failure.