summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5diff.h
diff options
context:
space:
mode:
authorJonathan Kim <jkm@hdfgroup.org>2010-01-25 21:43:48 (GMT)
committerJonathan Kim <jkm@hdfgroup.org>2010-01-25 21:43:48 (GMT)
commit79cd5838d1fb36b3b5385a8f3741fc33a53537d2 (patch)
tree4c2d0e6e8e9fa2f675891283f2f9b2f636c61c61 /tools/lib/h5diff.h
parentbb25c85e794449d3bf59d8811e53288569161790 (diff)
downloadhdf5-79cd5838d1fb36b3b5385a8f3741fc33a53537d2.zip
hdf5-79cd5838d1fb36b3b5385a8f3741fc33a53537d2.tar.gz
hdf5-79cd5838d1fb36b3b5385a8f3741fc33a53537d2.tar.bz2
[svn-r18164] Purpose:
Add a feature to compare through links. Relate to bugzilla report 1754. Description: Currently, h5diff command only compares the name(path) of target object not the actual data. With this feature, h5diff will go through the link(s) and figure out the actual object at the end of the link and compare data if exist. Internally we have hard-link, soft-link, external-link (as part of user_defined-link). This feature will provide a user transparent experience when comparing link objects as the user can specify any of those 3 type of links to be compared in any combination. Tested on Jam.
Diffstat (limited to 'tools/lib/h5diff.h')
-rw-r--r--tools/lib/h5diff.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lib/h5diff.h b/tools/lib/h5diff.h
index df264dd..090d3d9 100644
--- a/tools/lib/h5diff.h
+++ b/tools/lib/h5diff.h
@@ -35,6 +35,7 @@ typedef struct {
double percent; /* relative error value */
int n; /* count, compare up to count */
hsize_t count; /* count value */
+ int linkfollow; /* link follow*/
int err_stat; /* an error ocurred (1, error, 0, no error) */
int cmn_objs; /* do we have common objects */
int not_cmp; /* are the objects comparable */