summaryrefslogtreecommitdiffstats
path: root/src/H5P.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1997-10-15 16:33:27 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1997-10-15 16:33:27 (GMT)
commitf2257d5c815c3feee98d06136d191f0de8932da1 (patch)
tree9f77b83c9cdeff71c54cd88c607889272147d72a /src/H5P.c
parentcdb316b7e0b247977d667edac7b98486e3a9b46c (diff)
downloadhdf5-f2257d5c815c3feee98d06136d191f0de8932da1.zip
hdf5-f2257d5c815c3feee98d06136d191f0de8932da1.tar.gz
hdf5-f2257d5c815c3feee98d06136d191f0de8932da1.tar.bz2
[svn-r118] Added H5P_init & H5T_init function calls which can be called to guarantee that
the H5T & H5P interfaces are initialized (from H5D_init_interface)
Diffstat (limited to 'src/H5P.c')
-rw-r--r--src/H5P.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/H5P.c b/src/H5P.c
index b6f8563..7d0cb86 100644
--- a/src/H5P.c
+++ b/src/H5P.c
@@ -70,6 +70,29 @@ static herr_t H5P_init_interface(void)
} /* H5P_init_interface */
/*--------------------------------------------------------------------------
+NAME
+ H5P_init -- Make certain that the interface has been initialized
+USAGE
+ herr_t H5P_init()
+
+RETURNS
+ SUCCEED/FAIL
+DESCRIPTION
+ Library public routine to make certain the H5P interface has been properly
+ initialized.
+
+--------------------------------------------------------------------------*/
+herr_t H5P_init(void)
+{
+ herr_t ret_value = SUCCEED;
+ FUNC_ENTER (H5P_init, H5P_init_interface, FAIL);
+
+ /* Actual work is done in the FUNC_ENTER macro */
+
+ FUNC_LEAVE(ret_value);
+} /* H5P_init */
+
+/*--------------------------------------------------------------------------
NAME
H5P_term_interface
PURPOSE