diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2006-11-08 21:34:21 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2006-11-08 21:34:21 (GMT) |
commit | 50c658d66d015d3630e46b6b30bcf5c67613cf8a (patch) | |
tree | 26a6f86fda7cd5fedd80833fcf62d518e5f470af /tools/h5repack/h5repack.h | |
parent | 89cca34b9763e12a73a86164306d5ffbede28f64 (diff) | |
download | hdf5-50c658d66d015d3630e46b6b30bcf5c67613cf8a.zip hdf5-50c658d66d015d3630e46b6b30bcf5c67613cf8a.tar.gz hdf5-50c658d66d015d3630e46b6b30bcf5c67613cf8a.tar.bz2 |
[svn-r12884]
h5repack support for H5Ocopy in the copy of objects. The old method
for recreating references was dropped (references recreated in a second
traversal of the file)
The logic for using H5Ocopy or not is
if the input DCPL has filters or non default layout OR these are
requested by the user THEN
use the old h5repack read / write
ELSE
use H5Ocopy
Diffstat (limited to 'tools/h5repack/h5repack.h')
-rw-r--r-- | tools/h5repack/h5repack.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/tools/h5repack/h5repack.h b/tools/h5repack/h5repack.h index da82a05..0f5ccfe 100644 --- a/tools/h5repack/h5repack.h +++ b/tools/h5repack/h5repack.h @@ -102,6 +102,7 @@ typedef struct { int verbose; /*verbose mode */ hsize_t threshold; /*minimum size to compress, in bytes */ int use_native; /*use a native type in write */ + int have_fc_f; /*has input to use filter/chunking flag */ } pack_opt_t; @@ -158,13 +159,6 @@ int copy_attr(hid_t loc_in, pack_opt_t *options ); -int do_copy_refobjs(hid_t fidin, - hid_t fidout, - trav_table_t *travt, - pack_opt_t *options); /* repack options */ - - - void read_info(const char *filename,pack_opt_t *options); void init_packobject(pack_info_t *obj); int print_filters(hid_t dcpl_id); |