diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2002-10-09 13:13:57 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2002-10-09 13:13:57 (GMT) |
commit | 2f798b85df4a523fa1d6fd320abca7255a9e7a9a (patch) | |
tree | 8eb6f8f1da143915b233bc06e8bd2d942ad2520f | |
parent | 84276675aaa6c73cff2cb2aaab6e3526f6408340 (diff) | |
download | hdf5-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.c | 4 | ||||
-rw-r--r-- | src/H5Pprivate.h | 2 |
2 files changed, 4 insertions, 2 deletions
@@ -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, |