summaryrefslogtreecommitdiffstats
path: root/tools/lib
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 /tools/lib
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 'tools/lib')
-rw-r--r--tools/lib/h5diff.c10
-rw-r--r--tools/lib/h5trav.c7
2 files changed, 8 insertions, 9 deletions
diff --git a/tools/lib/h5diff.c b/tools/lib/h5diff.c
index c7f9265..5fa88bd 100644
--- a/tools/lib/h5diff.c
+++ b/tools/lib/h5diff.c
@@ -1076,12 +1076,12 @@ hsize_t diff (hid_t file1_id,
{
char *buf1 = NULL;
char *buf2 = NULL;
- H5L_linkinfo_t li1;
- H5L_linkinfo_t li2;
+ H5L_info_t li1;
+ H5L_info_t li2;
- if (H5Lget_linkinfo (file1_id, path1, &li1, H5P_DEFAULT) < 0)
+ if(H5Lget_info(file1_id, path1, &li1, H5P_DEFAULT) < 0)
goto out;
- if (H5Lget_linkinfo (file1_id, path1, &li2, H5P_DEFAULT) < 0)
+ if(H5Lget_info(file1_id, path1, &li2, H5P_DEFAULT) < 0)
goto out;
/* Only external links will have a query function registered */
@@ -1128,7 +1128,7 @@ hsize_t diff (hid_t file1_id,
else
{
/* If one or both of these links isn't an external link, we can only
- * compare information from H5Lget_linkinfo since we don't have a query
+ * compare information from H5Lget_info since we don't have a query
* function registered for them. */
/* If the link classes or the buffer length are not the
diff --git a/tools/lib/h5trav.c b/tools/lib/h5trav.c
index 8480f57..dc145ec 100644
--- a/tools/lib/h5trav.c
+++ b/tools/lib/h5trav.c
@@ -496,7 +496,7 @@ static int traverse( hid_t loc_id,
case H5G_UDLINK:
{
- H5L_linkinfo_t linkbuf;
+ H5L_info_t linkbuf;
/* increment */
inserted_objs++;
@@ -506,9 +506,8 @@ static int traverse( hid_t loc_id,
/* Get type of link */
H5E_BEGIN_TRY {
-
- /* get link class info */
- H5Lget_linkinfo( loc_id, path, &linkbuf, H5P_DEFAULT);
+ /* get link class info */
+ H5Lget_info( loc_id, path, &linkbuf, H5P_DEFAULT);
} H5E_END_TRY;
if(linkbuf.type == H5L_TYPE_EXTERNAL)