From bb1cd9c8608afd241318ff7eb3891b59e976c098 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Fri, 23 Sep 2016 16:44:30 +0200 Subject: [PATCH] src/h5core/h5_file.c - prototype of a 'h5_set_prop_file_flush_step()' function added --- src/h5core/h5_file.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/h5core/h5_file.c b/src/h5core/h5_file.c index 5581be5..fbe148b 100644 --- a/src/h5core/h5_file.c +++ b/src/h5core/h5_file.c @@ -298,6 +298,27 @@ h5_set_prop_file_align ( H5_RETURN (H5_SUCCESS); } +#if 0 +h5_err_t +h5_set_prop_file_flush_step ( + h5_prop_t _props + ) { + h5_prop_file_t* props = (h5_prop_file_t*)_props; + H5_CORE_API_ENTER ( + h5_err_t, + "props=%p, align=%lld", + props, (long long int)align); + if (props->class != H5_PROP_FILE) { + H5_RETURN_ERROR ( + H5_ERR_INVAL, + "Invalid property class: %lld", + (long long int)props->class); + } + props-> = align; + H5_RETURN (H5_SUCCESS); +} +#endif + h5_err_t h5_set_prop_file_throttle ( h5_prop_t _props,