summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5trav.h
diff options
context:
space:
mode:
authorJonathan Kim <jkm@hdfgroup.org>2011-05-10 23:05:28 (GMT)
committerJonathan Kim <jkm@hdfgroup.org>2011-05-10 23:05:28 (GMT)
commita396f8dd7f882c1eddab91e1b7fa3c02bec5e06e (patch)
treed9567c8f20e5a4cfa68fe35539471319883227d2 /tools/lib/h5trav.h
parent30db3befb22fc8ec5b38b0a8ddc8ce544a63fa56 (diff)
downloadhdf5-a396f8dd7f882c1eddab91e1b7fa3c02bec5e06e.zip
hdf5-a396f8dd7f882c1eddab91e1b7fa3c02bec5e06e.tar.gz
hdf5-a396f8dd7f882c1eddab91e1b7fa3c02bec5e06e.tar.bz2
[svn-r20794] Purpose:
HDFFV-5928 - GMQS: h5diff problem and improvement on comparsing the same objects Description: Merged from HDF5 trunk r20767. Improved performance by eliminating duplicated action for getting object information in half from the previous fixe when comparing group vs group. This is addition to the previous commit r20706. Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE)
Diffstat (limited to 'tools/lib/h5trav.h')
-rw-r--r--tools/lib/h5trav.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/lib/h5trav.h b/tools/lib/h5trav.h
index 8eb93fa..da8dc69 100644
--- a/tools/lib/h5trav.h
+++ b/tools/lib/h5trav.h
@@ -65,6 +65,8 @@ typedef struct symlink_trav_t {
typedef struct trav_path_t {
char *path;
h5trav_type_t type;
+ haddr_t objno; /* object address */
+ unsigned long fileno; /* File number that object is located in */
} trav_path_t;
typedef struct trav_info_t {
@@ -95,6 +97,7 @@ typedef struct trav_link_t {
typedef struct trav_obj_t {
haddr_t objno; /* object address */
unsigned flags[2]; /* h5diff.object is present or not in both files*/
+ hbool_t is_same_trgobj; /* same target object? no need to compare */
char *name; /* name */
h5trav_type_t type; /* type of object */
trav_link_t *links; /* array of possible link names */