diff options
author | Jonathan Kim <jkm@hdfgroup.org> | 2010-09-16 21:46:16 (GMT) |
---|---|---|
committer | Jonathan Kim <jkm@hdfgroup.org> | 2010-09-16 21:46:16 (GMT) |
commit | eb7b5b2ceffb9bed00959c4131ce9cfed09628c4 (patch) | |
tree | db0f10ded30b447a2f2900628e3457455f06976f /tools/lib/h5diff.h | |
parent | 4bae291b1f0f4d6a51f24d18bc68e4c4475498b5 (diff) | |
download | hdf5-eb7b5b2ceffb9bed00959c4131ce9cfed09628c4.zip hdf5-eb7b5b2ceffb9bed00959c4131ce9cfed09628c4.tar.gz hdf5-eb7b5b2ceffb9bed00959c4131ce9cfed09628c4.tar.bz2 |
[svn-r19406] Purpose:
Add --exclude-path option
Description:
Specified path to an object will be excluded from comparing the two files or two groups. If group is specified all the member objects will be excluded.
Related to "1890: h5diff excluding object for file comparison via command line"
Tested:
jam, amani and heiwa
Diffstat (limited to 'tools/lib/h5diff.h')
-rw-r--r-- | tools/lib/h5diff.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/lib/h5diff.h b/tools/lib/h5diff.h index 916197d..c89b9d3 100644 --- a/tools/lib/h5diff.h +++ b/tools/lib/h5diff.h @@ -25,6 +25,12 @@ * command line options *------------------------------------------------------------------------- */ +/* linked list to keep exclude path list */ +struct exclude_path_list { + char *obj_path; + h5trav_type_t obj_type; + struct exclude_path_list * next; +}; typedef struct { int m_quiet; /* quiet mide: no output at all */ @@ -45,6 +51,8 @@ typedef struct { int contents; /* equal contents */ int do_nans; /* consider Nans while diffing floats */ int m_list_not_cmp; /* list not comparable messages */ + int exclude_path; /* exclude path to an object */ + struct exclude_path_list * exclude; /* keep exclude path list */ } diff_opt_t; |