summaryrefslogtreecommitdiffstats
path: root/test/th5o.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-10-31 00:45:31 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-10-31 00:45:31 (GMT)
commit8b52aae45d4c461644657ee9be2a3e092006887e (patch)
treeefb4ff2d0cb5e6b5292b3286c13cf97e3a618419 /test/th5o.c
parent5acf9725e0586f66427d69c095f9741abf182946 (diff)
downloadhdf5-8b52aae45d4c461644657ee9be2a3e092006887e.zip
hdf5-8b52aae45d4c461644657ee9be2a3e092006887e.tar.gz
hdf5-8b52aae45d4c461644657ee9be2a3e092006887e.tar.bz2
[svn-r12835] Description:
Change H5Lget_linkinfo() to H5Lget_info() to better align with coming API changes. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
Diffstat (limited to 'test/th5o.c')
-rw-r--r--test/th5o.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/th5o.c b/test/th5o.c
index 345ec5f..1743a6b 100644
--- a/test/th5o.c
+++ b/test/th5o.c
@@ -242,7 +242,7 @@ test_h5o_open_by_addr(void)
{
hid_t fid; /* HDF5 File ID */
hid_t grp, dset, dtype, dspace; /* Object identifiers */
- H5L_linkinfo_t li; /* Buffer for H5Lget_linkinfo */
+ H5L_info_t li; /* Buffer for H5Lget_info */
haddr_t grp_addr; /* Addresses for objects */
haddr_t dset_addr;
haddr_t dtype_addr;
@@ -286,14 +286,14 @@ test_h5o_open_by_addr(void)
CHECK(ret, FAIL, "H5Sclose");
/* Get address for each object */
- ret = H5Lget_linkinfo(fid, "group", &li, H5P_DEFAULT);
- CHECK(ret, FAIL, "H5Lget_linkinfo");
+ ret = H5Lget_info(fid, "group", &li, H5P_DEFAULT);
+ CHECK(ret, FAIL, "H5Lget_info");
grp_addr = li.u.address;
- ret = H5Lget_linkinfo(fid, "group/datatype", &li, H5P_DEFAULT);
- CHECK(ret, FAIL, "H5Lget_linkinfo");
+ ret = H5Lget_info(fid, "group/datatype", &li, H5P_DEFAULT);
+ CHECK(ret, FAIL, "H5Lget_info");
dtype_addr = li.u.address;
- ret = H5Lget_linkinfo(fid, "dataset", &li, H5P_DEFAULT);
- CHECK(ret, FAIL, "H5Lget_linkinfo");
+ ret = H5Lget_info(fid, "dataset", &li, H5P_DEFAULT);
+ CHECK(ret, FAIL, "H5Lget_info");
dset_addr = li.u.address;
/* Now make sure that H5Oopen_by_addr can open all three types of objects */