summaryrefslogtreecommitdiffstats
path: root/src/H5VL.c
diff options
context:
space:
mode:
authorjhendersonHDF <jhenderson@hdfgroup.org>2020-12-16 05:39:19 (GMT)
committerGitHub <noreply@github.com>2020-12-16 05:39:19 (GMT)
commitaffbead81a20712920bfe350eb90b0a4bb754ebf (patch)
tree633747a9663f2252380267c3dc1028326ac8d094 /src/H5VL.c
parent865b10b7a707005f08b13e92dec90e402de1f21d (diff)
downloadhdf5-affbead81a20712920bfe350eb90b0a4bb754ebf.zip
hdf5-affbead81a20712920bfe350eb90b0a4bb754ebf.tar.gz
hdf5-affbead81a20712920bfe350eb90b0a4bb754ebf.tar.bz2
Enable H5Fopen to probe list of available VOL connectors when opening a (#182)
file
Diffstat (limited to 'src/H5VL.c')
-rw-r--r--src/H5VL.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/H5VL.c b/src/H5VL.c
index 55779d7..c1f8adb 100644
--- a/src/H5VL.c
+++ b/src/H5VL.c
@@ -87,27 +87,6 @@ H5VLregister_connector(const H5VL_class_t *cls, hid_t vipl_id)
FUNC_ENTER_API(H5I_INVALID_HID)
H5TRACE2("i", "*#i", cls, vipl_id);
- /* Check arguments */
- if (!cls)
- HGOTO_ERROR(H5E_ARGS, H5E_UNINITIALIZED, H5I_INVALID_HID,
- "VOL connector class pointer cannot be NULL")
- if (H5VL_VERSION != cls->version)
- HGOTO_ERROR(H5E_VOL, H5E_CANTREGISTER, H5I_INVALID_HID, "VOL connector has incompatible version")
- if (!cls->name)
- HGOTO_ERROR(H5E_VOL, H5E_CANTREGISTER, H5I_INVALID_HID,
- "VOL connector class name cannot be the NULL pointer")
- if (0 == HDstrlen(cls->name))
- HGOTO_ERROR(H5E_VOL, H5E_CANTREGISTER, H5I_INVALID_HID,
- "VOL connector class name cannot be the empty string")
- if (cls->info_cls.copy && !cls->info_cls.free)
- HGOTO_ERROR(
- H5E_VOL, H5E_CANTREGISTER, H5I_INVALID_HID,
- "VOL connector must provide free callback for VOL info objects when a copy callback is provided")
- if (cls->wrap_cls.get_wrap_ctx && !cls->wrap_cls.free_wrap_ctx)
- HGOTO_ERROR(H5E_VOL, H5E_CANTREGISTER, H5I_INVALID_HID,
- "VOL connector must provide free callback for object wrapping contexts when a get "
- "callback is provided")
-
/* Check VOL initialization property list */
if (H5P_DEFAULT == vipl_id)
vipl_id = H5P_VOL_INITIALIZE_DEFAULT;