summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2002-10-09 13:13:57 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2002-10-09 13:13:57 (GMT)
commit2f798b85df4a523fa1d6fd320abca7255a9e7a9a (patch)
tree8eb6f8f1da143915b233bc06e8bd2d942ad2520f
parent84276675aaa6c73cff2cb2aaab6e3526f6408340 (diff)
downloadhdf5-2f798b85df4a523fa1d6fd320abca7255a9e7a9a.zip
hdf5-2f798b85df4a523fa1d6fd320abca7255a9e7a9a.tar.gz
hdf5-2f798b85df4a523fa1d6fd320abca7255a9e7a9a.tar.bz2
[svn-r5968] Purpose:
Code cleanup Description: Change new H5P_get_class_path and H5P_open_class_path functions to be non- static and put prototypes in H5Pprivate.h Platforms tested: FreeBSD 4.6 (sleipnir) (no triple-check necessary)
-rw-r--r--src/H5P.c4
-rw-r--r--src/H5Pprivate.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/H5P.c b/src/H5P.c
index 0fec1c2..09f1ff5 100644
--- a/src/H5P.c
+++ b/src/H5P.c
@@ -4698,7 +4698,7 @@ done:
EXAMPLES
REVISION LOG
--------------------------------------------------------------------------*/
-static char *
+char *
H5P_get_class_path(H5P_genclass_t *pclass)
{
char *par_path; /* Parent class's full path */
@@ -4806,7 +4806,7 @@ done:
EXAMPLES
REVISION LOG
--------------------------------------------------------------------------*/
-static H5P_genclass_t *
+H5P_genclass_t *
H5P_open_class_path(const char *path)
{
char *tmp_path=NULL; /* Temporary copy of the path */
diff --git a/src/H5Pprivate.h b/src/H5Pprivate.h
index 2f962c2..f0eefd1 100644
--- a/src/H5Pprivate.h
+++ b/src/H5Pprivate.h
@@ -40,6 +40,8 @@ H5_DLL herr_t H5P_insert(H5P_genplist_t *plist, const char *name, size_t size,
H5_DLL herr_t H5P_remove(hid_t plist_id, H5P_genplist_t *plist, const char *name);
H5_DLL htri_t H5P_exist_plist(H5P_genplist_t *plist, const char *name);
H5_DLL char *H5P_get_class_name(H5P_genclass_t *pclass);
+H5_DLL char *H5P_get_class_path(H5P_genclass_t *pclass);
+H5_DLL H5P_genclass_t *H5P_open_class_path(const char *path);
H5_DLL herr_t H5P_get_nprops_pclass(H5P_genclass_t *pclass, size_t *nprops);
H5_DLL herr_t H5P_register(H5P_genclass_t *pclass, const char *name, size_t size,
void *def_value, H5P_prp_create_func_t prp_create, H5P_prp_set_func_t prp_set,