diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2007-05-24 19:09:36 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2007-05-24 19:09:36 (GMT) |
commit | bd2c3b52a8acf822d8cb97a365425b2c18dc0621 (patch) | |
tree | 9e17846904fd2eb2b64f3459f9aae789160b4626 /tools/h5repack/h5repack.h | |
parent | fa133cfb95c052f3b96b0a5089b98491b77628ef (diff) | |
download | hdf5-bd2c3b52a8acf822d8cb97a365425b2c18dc0621.zip hdf5-bd2c3b52a8acf822d8cb97a365425b2c18dc0621.tar.gz hdf5-bd2c3b52a8acf822d8cb97a365425b2c18dc0621.tar.bz2 |
[svn-r13810]
Minor tunings to output verbose messages:
1)when there is not a filter request do not print a message saying the filter was not apllied when the dataset was too small
2) avoid printing the message that has a list of objects to modify when there is none
Tested:linux
Diffstat (limited to 'tools/h5repack/h5repack.h')
-rw-r--r-- | tools/h5repack/h5repack.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/h5repack/h5repack.h b/tools/h5repack/h5repack.h index a397d0a..3fa23d3 100644 --- a/tools/h5repack/h5repack.h +++ b/tools/h5repack/h5repack.h @@ -153,6 +153,8 @@ int do_copy_refobjs(hid_t fidin, void read_info(const char *filename,pack_opt_t *options); void init_packobject(pack_info_t *obj); int print_filters(hid_t dcpl_id); +int have_request(pack_opt_t *options); + /*------------------------------------------------------------------------- @@ -163,8 +165,9 @@ int print_filters(hid_t dcpl_id); int apply_filters(const char* name, /* object name from traverse list */ int rank, /* rank of dataset */ hsize_t *dims, /* dimensions of dataset */ - hid_t dcpl_id, /* dataset creation property list */ - pack_opt_t *options); /* repack options */ + hid_t dcpl_id, /* (IN,OUT) dataset creation property list */ + pack_opt_t *options, /* repack options */ + int *has_filter); /* (OUT) object NAME has a filter */ int has_filter(hid_t dcpl_id, H5Z_filter_t filtnin); |