summaryrefslogtreecommitdiffstats
path: root/tools/h5ls.c
diff options
context:
space:
mode:
authorPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>2000-02-17 18:35:30 (GMT)
committerPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>2000-02-17 18:35:30 (GMT)
commit6a2bc2f4aa425e8e515cd348f0d4e81d4992ae1e (patch)
treeeaf5cbb8fddf298a55cf87839bbd51e3d8e4b07b /tools/h5ls.c
parent82cd7cca30d82e5b68ff8e9d2e10335d89ad9884 (diff)
downloadhdf5-6a2bc2f4aa425e8e515cd348f0d4e81d4992ae1e.zip
hdf5-6a2bc2f4aa425e8e515cd348f0d4e81d4992ae1e.tar.gz
hdf5-6a2bc2f4aa425e8e515cd348f0d4e81d4992ae1e.tar.bz2
[svn-r1973] fixed the dataset regions problem with the dumper.
now the dump structure contains 2 extra members that tell how to format the data for the dataset regions(blocks and pts). had to give h5ls values for these
Diffstat (limited to 'tools/h5ls.c')
-rw-r--r--tools/h5ls.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/h5ls.c b/tools/h5ls.c
index 8c1963f..b5b4dfe 100644
--- a/tools/h5ls.c
+++ b/tools/h5ls.c
@@ -1131,6 +1131,17 @@ dump_dataset_values(hid_t dset)
info.cmpd_pre = "";
info.cmpd_suf = "";
info.cmpd_sep = " ";
+
+ info.dset_format = "DSET-%lu:%lu:%lu:%lu-";
+ info.dset_hidefileno = 0;
+
+ info.obj_format = "-%lu:%lu:%lu:%lu";
+ info.obj_hidefileno = 0;
+
+ info.dset_blockformat_pre = "%sBlk%lu: ";
+ info.dset_ptformat_pre = "%sPt%lu: ";
+
+
if (label_g) info.cmpd_name = "%s=";
info.elmt_suf1 = " ";