summaryrefslogtreecommitdiffstats
path: root/src/H5Gpkg.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2011-04-04 04:26:12 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2011-04-04 04:26:12 (GMT)
commitbd7499db1fb2c73352943c2d365c71a8cce7421b (patch)
tree4d24f041093576319f9357d5714e39398d7b7511 /src/H5Gpkg.h
parent16f45fc25a3b24eab31ac846cde0851179e3d7bf (diff)
downloadhdf5-bd7499db1fb2c73352943c2d365c71a8cce7421b.zip
hdf5-bd7499db1fb2c73352943c2d365c71a8cce7421b.tar.gz
hdf5-bd7499db1fb2c73352943c2d365c71a8cce7421b.tar.bz2
[svn-r20407] Description:
Bring r20406 from trunk to 1.8 branch: Refactor root group routines to centralize and simplify them some. Also patch root group's file pointer when it doesn't match the querying file, from H5G_rootof. Tested on: Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode (h5committested on trunk)
Diffstat (limited to 'src/H5Gpkg.h')
-rw-r--r--src/H5Gpkg.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/H5Gpkg.h b/src/H5Gpkg.h
index f9bc41e..78e66d0 100644
--- a/src/H5Gpkg.h
+++ b/src/H5Gpkg.h
@@ -590,11 +590,15 @@ H5_DLL H5RS_str_t *H5G_build_fullpath_refstr_str(H5RS_str_t *path_r, const char
/*
* These functions operate on group "locations"
*/
-H5_DLL herr_t H5G_loc_root(H5F_t *f, H5G_loc_t *loc);
H5_DLL herr_t H5G_loc_copy(H5G_loc_t *dst, const H5G_loc_t *src, H5_copy_depth_t depth);
H5_DLL herr_t H5G_loc_insert(H5G_loc_t *grp_loc, const char *name,
H5G_loc_t *obj_loc, H5O_type_t obj_type, const void *crt_info, hid_t dxpl_id);
+/*
+ * These functions operate on the root group
+ */
+H5_DLL herr_t H5G_root_loc(H5F_t *f, H5G_loc_t *loc);
+
/* Testing functions */
#ifdef H5G_TESTING
H5_DLL htri_t H5G_is_empty_test(hid_t gid);