diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2008-01-30 22:25:05 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2008-01-30 22:25:05 (GMT) |
commit | aa346723b0108cd64b5f9de20c685351e8f3be48 (patch) | |
tree | fab604b2c0bc1508e3b133c54de6311971a17de2 /src/H5Gprivate.h | |
parent | 268f9d127bb543a6c84c8ff52e2328e7dd7c0da1 (diff) | |
download | hdf5-aa346723b0108cd64b5f9de20c685351e8f3be48.zip hdf5-aa346723b0108cd64b5f9de20c685351e8f3be48.tar.gz hdf5-aa346723b0108cd64b5f9de20c685351e8f3be48.tar.bz2 |
[svn-r14473] Bug fix for #984. H5Iget_name could not be used with an object identifier returned by H5Rdereference. The function would not be able to determine a valid object name.
Fixed it and added some tests in getname.c.
Tested on smirom, kagiso, and linew.
Diffstat (limited to 'src/H5Gprivate.h')
-rw-r--r-- | src/H5Gprivate.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5Gprivate.h b/src/H5Gprivate.h index 6fe4e17..75328a3 100644 --- a/src/H5Gprivate.h +++ b/src/H5Gprivate.h @@ -177,6 +177,8 @@ H5_DLL herr_t H5G_name_free(H5G_entry_t *ent); H5_DLL herr_t H5G_name_replace(int type, H5G_entry_t *loc, H5RS_str_t *dst_name, H5G_entry_t *dst_loc, H5G_names_op_t op); H5_DLL ssize_t H5G_get_name(hid_t id, char *name/*out*/, size_t size); +H5_DLL ssize_t H5G_get_name_by_addr(hid_t file, hid_t dxpl_id, const H5G_entry_t *loc, + char *name, size_t size); #endif |