From 2f798b85df4a523fa1d6fd320abca7255a9e7a9a Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Wed, 9 Oct 2002 08:13:57 -0500 Subject: [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) --- src/H5P.c | 4 ++-- src/H5Pprivate.h | 2 ++ 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, -- cgit v0.12