summaryrefslogtreecommitdiffstats
path: root/src/H5F.c
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2019-12-12 21:17:25 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2019-12-13 19:17:43 (GMT)
commit5b751543ca7be96a91cd2db55976188f9ddbace1 (patch)
treefaf73a6fb72fcc9db151b39c635261050ef4794b /src/H5F.c
parentbbdb0306556459531d9e19bc6dae3c602341bdcf (diff)
downloadhdf5-5b751543ca7be96a91cd2db55976188f9ddbace1.zip
hdf5-5b751543ca7be96a91cd2db55976188f9ddbace1.tar.gz
hdf5-5b751543ca7be96a91cd2db55976188f9ddbace1.tar.bz2
Modify H5VL initialization routines to initialize all VOL-managed object
types. Modify H5VLwrap_register() to reject non-VOL-managed object types. Also fix overisights in h5trace.c from previous changes.
Diffstat (limited to 'src/H5F.c')
-rw-r--r--src/H5F.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/H5F.c b/src/H5F.c
index 35176fc..41eac3e 100644
--- a/src/H5F.c
+++ b/src/H5F.c
@@ -113,6 +113,30 @@ static const H5I_class_t H5I_FILE_CLS[1] = {{
(H5I_free_t)H5F__close_cb /* Callback routine for closing objects of this class */
}};
+
+
+/*-------------------------------------------------------------------------
+ * Function: H5F_init
+ *
+ * Purpose: Initialize the interface from some other layer.
+ *
+ * Return: Success: non-negative
+ *
+ * Failure: negative
+ *-------------------------------------------------------------------------
+ */
+herr_t
+H5F_init(void)
+{
+ herr_t ret_value = SUCCEED; /* Return value */
+
+ FUNC_ENTER_NOAPI(FAIL)
+ /* FUNC_ENTER() does all the work */
+
+done:
+ FUNC_LEAVE_NOAPI(ret_value)
+} /* end H5F_init() */
+
/*--------------------------------------------------------------------------
NAME