summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5diff.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/h5diff.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/h5diff.h')
-rw-r--r--tools/lib/h5diff.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/tools/lib/h5diff.h b/tools/lib/h5diff.h
index 19d5ed5..66c5188 100644
--- a/tools/lib/h5diff.h
+++ b/tools/lib/h5diff.h
@@ -22,6 +22,16 @@
#define MAX_FILENAME 1024
/*-------------------------------------------------------------------------
+ * This is used to pass multiple args into diff().
+ * Passing this instead of several each arg provides smoother extensibility
+ * through its members along with MPI code for ph5diff
+ * as it doesn't require interface change.
+ *------------------------------------------------------------------------*/
+typedef struct {
+ h5trav_type_t type;
+ hbool_t is_same_trgobj;
+} diff_args_t;
+/*-------------------------------------------------------------------------
* command line options
*-------------------------------------------------------------------------
*/
@@ -106,7 +116,7 @@ hsize_t diff( hid_t file1_id,
hid_t file2_id,
const char *path2,
diff_opt_t *options,
- h5trav_type_t type );
+ diff_args_t *argdata);
hsize_t diff_compare( hid_t file1_id,
const char *file1_name,