diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2012-07-12 15:38:44 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2012-07-12 15:38:44 (GMT) |
commit | b54b3fcf290d532de381e135254dfc343d338d24 (patch) | |
tree | 167a494e2aff12bf3f95229fe72d4e4f00ccffe3 /tools/lib/h5trav.h | |
parent | 4bba12dbee46b5ea8a383ec90b42ab98f722d9e1 (diff) | |
download | hdf5-b54b3fcf290d532de381e135254dfc343d338d24.zip hdf5-b54b3fcf290d532de381e135254dfc343d338d24.tar.gz hdf5-b54b3fcf290d532de381e135254dfc343d338d24.tar.bz2 |
[svn-r22563] HDFFV-8095: index order of links wrong
Create setters for indexing options in h5trav.c to be set before the obj table is created.
Revert h5trav_print to remove now duplicated parameters.
Added test and testfiles.
Tested: local linux with cmake
Diffstat (limited to 'tools/lib/h5trav.h')
-rw-r--r-- | tools/lib/h5trav.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/lib/h5trav.h b/tools/lib/h5trav.h index 7311897..ce44bc9 100644 --- a/tools/lib/h5trav.h +++ b/tools/lib/h5trav.h @@ -131,6 +131,7 @@ extern "C" { * "h5trav general" public functions *------------------------------------------------------------------------- */ +H5TOOLS_DLL void h5trav_set_index(H5_index_t print_index_by, H5_iter_order_t print_index_order); H5TOOLS_DLL int h5trav_visit(hid_t file_id, const char *grp_name, hbool_t visit_start, hbool_t recurse, h5trav_obj_func_t visit_obj, h5trav_lnk_func_t visit_lnk, void *udata); @@ -158,7 +159,7 @@ H5TOOLS_DLL int h5trav_getindext(const char *obj, const trav_table_t *travt); * "h5trav print" public functions *------------------------------------------------------------------------- */ -H5TOOLS_DLL int h5trav_print(hid_t fid, H5_index_t print_index_by, H5_iter_order_t print_index_order); +H5TOOLS_DLL int h5trav_print(hid_t fid); #ifdef __cplusplus } |