diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2002-04-26 20:34:46 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2002-04-26 20:34:46 (GMT) |
commit | 94f11385a6ad93d66df9458bb9dfeec05c7c2a45 (patch) | |
tree | 8389590bcde56d8ccc2a8e0364af0e88cdf9f7cf /src/H5Gprivate.h | |
parent | 124979bfc261386070516a81f26e7a28417c56d3 (diff) | |
download | hdf5-94f11385a6ad93d66df9458bb9dfeec05c7c2a45.zip hdf5-94f11385a6ad93d66df9458bb9dfeec05c7c2a45.tar.gz hdf5-94f11385a6ad93d66df9458bb9dfeec05c7c2a45.tar.bz2 |
[svn-r5273]
Purpose:
New feature
Description:
Allow H5Glink and H5Gmove to handle links across different locations.
Solution:
Added H5Glink2 and H5Gmove2 functions with new parameter of destination
location.
Platforms tested:
Linux 2.2(eirene)
Diffstat (limited to 'src/H5Gprivate.h')
-rw-r--r-- | src/H5Gprivate.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5Gprivate.h b/src/H5Gprivate.h index 7590597..1d9df9d 100644 --- a/src/H5Gprivate.h +++ b/src/H5Gprivate.h @@ -125,9 +125,9 @@ __DLL__ H5G_t *H5G_reopen(H5G_t *grp); __DLL__ herr_t H5G_close(H5G_t *grp); __DLL__ H5G_t *H5G_rootof(H5F_t *f); __DLL__ htri_t H5G_isa(H5G_entry_t *ent); -__DLL__ herr_t H5G_link(H5G_entry_t *loc, H5G_link_t type, - const char *cur_name, const char *new_name, - unsigned namei_flags); +__DLL__ herr_t H5G_link(H5G_entry_t *cur_loc, const char *cur_name, + H5G_entry_t *new_loc, const char *new_name, + H5G_link_t type, unsigned namei_flags); __DLL__ int H5G_get_type(H5G_entry_t *ent); __DLL__ herr_t H5G_get_objinfo(H5G_entry_t *loc, const char *name, hbool_t follow_link, @@ -140,8 +140,8 @@ __DLL__ int H5G_get_comment(H5G_entry_t *loc, const char *name, size_t bufsize, char *buf); __DLL__ herr_t H5G_insert(H5G_entry_t *loc, const char *name, H5G_entry_t *ent); -__DLL__ herr_t H5G_move(H5G_entry_t *loc, const char *src_name, - const char *dst_name); +__DLL__ herr_t H5G_move(H5G_entry_t *src_loc, const char *src_name, + H5G_entry_t *dst_loc, const char *dst_name); __DLL__ herr_t H5G_unlink(H5G_entry_t *loc, const char *name); __DLL__ herr_t H5G_find(H5G_entry_t *loc, const char *name, H5G_entry_t *grp_ent/*out*/, H5G_entry_t *ent/*out*/); |