summaryrefslogtreecommitdiffstats
path: root/src/H5G.c
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2019-12-12 21:17:25 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:20:20 (GMT)
commit958ba4c8a269329f1d5771864af33a5ca3ac36c4 (patch)
tree664aca049549b9121860a08f91afbdcffba9a71a /src/H5G.c
parent59d5321a33255850eb26a2cfb9b4db0d0fc4b810 (diff)
downloadhdf5-958ba4c8a269329f1d5771864af33a5ca3ac36c4.zip
hdf5-958ba4c8a269329f1d5771864af33a5ca3ac36c4.tar.gz
hdf5-958ba4c8a269329f1d5771864af33a5ca3ac36c4.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/H5G.c')
-rw-r--r--src/H5G.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/H5G.c b/src/H5G.c
index 85515d3..d194469 100644
--- a/src/H5G.c
+++ b/src/H5G.c
@@ -144,6 +144,29 @@ static hbool_t H5G_top_package_initialize_s = FALSE;
/*-------------------------------------------------------------------------
+ * Function: H5G_init
+ *
+ * Purpose: Initialize the interface from some other layer.
+ *
+ * Return: Success: non-negative
+ *
+ * Failure: negative
+ *-------------------------------------------------------------------------
+ */
+herr_t
+H5G_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 H5G_init() */
+
+
+/*-------------------------------------------------------------------------
* Function: H5G__init_package
*
* Purpose: Initializes the H5G interface.