summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5tools.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-05-22 18:10:40 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-05-22 18:10:40 (GMT)
commitcdcef539a3d359c8a7082923b947d920d738cd56 (patch)
tree2a4b151f61674b4cd368922ced09999bfab274c0 /tools/lib/h5tools.c
parent8861b5a4945b1a35103357b2d4097e1faef6b167 (diff)
downloadhdf5-cdcef539a3d359c8a7082923b947d920d738cd56.zip
hdf5-cdcef539a3d359c8a7082923b947d920d738cd56.tar.gz
hdf5-cdcef539a3d359c8a7082923b947d920d738cd56.tar.bz2
HDFFV-8611 change h5repack to save the root group creation order
Added test and new arguments to control the the input file parsing.
Diffstat (limited to 'tools/lib/h5tools.c')
-rw-r--r--tools/lib/h5tools.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/lib/h5tools.c b/tools/lib/h5tools.c
index a74fdd2..22fd863 100644
--- a/tools/lib/h5tools.c
+++ b/tools/lib/h5tools.c
@@ -51,6 +51,10 @@ unsigned packed_data_length; /* length of packed bits to display */
unsigned long long packed_data_mask; /* mask in which packed bits to display */
int enable_error_stack= FALSE; /* re-enable error stack */
+/* sort parameters */
+H5_index_t sort_by = H5_INDEX_NAME; /*sort_by [creation_order | name] */
+H5_iter_order_t sort_order = H5_ITER_INC; /*sort_order [ascending | descending] */
+
/* module-scoped variables */
static int h5tools_init_g; /* if h5tools lib has been initialized */