summaryrefslogtreecommitdiffstats
path: root/src/H5FDint.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2017-05-24 13:41:26 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2017-05-24 13:41:26 (GMT)
commit479f326a267ca5ffacc2012f33674c66cf2907d8 (patch)
tree19d03323c3ceb6e6b9e4da5e3529aeec74992974 /src/H5FDint.c
parente5a57c97aa43d6c76d1bb1fe64d24aaa0bbbb7d3 (diff)
downloadhdf5-479f326a267ca5ffacc2012f33674c66cf2907d8.zip
hdf5-479f326a267ca5ffacc2012f33674c66cf2907d8.tar.gz
hdf5-479f326a267ca5ffacc2012f33674c66cf2907d8.tar.bz2
* Added new public H5FDdriver_query() API call.
* Changed return type of H5FD_driver_query() to herr_t. * Updated swmr.c to use H5FDdriver_query() instead of the private call. * Added some flags tests to vfd.c.
Diffstat (limited to 'src/H5FDint.c')
-rw-r--r--src/H5FDint.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/H5FDint.c b/src/H5FDint.c
index ccf0f2e..52fbc23 100644
--- a/src/H5FDint.c
+++ b/src/H5FDint.c
@@ -442,18 +442,17 @@ done:
* can't use the file to get the driver, the driver is passed in
* as a parameter.
*
-* Return: Success: non-negative
-* Failure: negative
+* Return: SUCCEED/FAIL
*
* Programmer: Jacob Gruber
* Wednesday, August 17, 2011
*
*-------------------------------------------------------------------------
*/
-int
+herr_t
H5FD_driver_query(const H5FD_class_t *driver, unsigned long *flags/*out*/)
{
- int ret_value = 0; /* Return value */
+ herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_NOAPI_NOINIT_NOERR
@@ -469,4 +468,3 @@ H5FD_driver_query(const H5FD_class_t *driver, unsigned long *flags/*out*/)
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5FD_driver_query() */
-