summaryrefslogtreecommitdiffstats
path: root/src/H5M.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-12 21:52:21 (GMT)
commitce653ff82b7dd52b8e36a5eff7b1728c4b75d9f7 (patch)
tree090eb5eb5cff5f166df5d4b18da0bfc0de6e4816 /src/H5M.c
parent8026c67a1c34e9d3dcaffe12f22d00e4ced64878 (diff)
downloadhdf5-ce653ff82b7dd52b8e36a5eff7b1728c4b75d9f7.zip
hdf5-ce653ff82b7dd52b8e36a5eff7b1728c4b75d9f7.tar.gz
hdf5-ce653ff82b7dd52b8e36a5eff7b1728c4b75d9f7.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/H5M.c')
-rw-r--r--src/H5M.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/H5M.c b/src/H5M.c
index adb4df0..ef5b4d9 100644
--- a/src/H5M.c
+++ b/src/H5M.c
@@ -78,6 +78,29 @@ static hbool_t H5M_top_package_initialize_s = FALSE;
/*-------------------------------------------------------------------------
+ * Function: H5M_init
+ *
+ * Purpose: Initialize the interface from some other layer.
+ *
+ * Return: Success: non-negative
+ *
+ * Failure: negative
+ *-------------------------------------------------------------------------
+ */
+herr_t
+H5M_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 H5M_init() */
+
+
+/*-------------------------------------------------------------------------
NAME
H5M__init_package -- Initialize interface-specific information
USAGE