summaryrefslogtreecommitdiffstats
path: root/tools/h5tools.h
diff options
context:
space:
mode:
authorPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>2000-03-09 19:34:39 (GMT)
committerPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>2000-03-09 19:34:39 (GMT)
commitc9e88b05161fd041e328d3352350328b5d09df0f (patch)
tree798848f763609e62eb6887d403bea9c952d0c05a /tools/h5tools.h
parent8ff4e26ee74950df69061f8d9e45c74e0415658d (diff)
downloadhdf5-c9e88b05161fd041e328d3352350328b5d09df0f.zip
hdf5-c9e88b05161fd041e328d3352350328b5d09df0f.tar.gz
hdf5-c9e88b05161fd041e328d3352350328b5d09df0f.tar.bz2
[svn-r2017] added a new data structure for the dump header format for customized output
Diffstat (limited to 'tools/h5tools.h')
-rw-r--r--tools/h5tools.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/tools/h5tools.h b/tools/h5tools.h
index bb145ec..28ec6fd 100644
--- a/tools/h5tools.h
+++ b/tools/h5tools.h
@@ -277,6 +277,57 @@ typedef struct h5dump_t {
} h5dump_t;
+typedef struct dump_header{
+ const char *name;
+ const char *filebegin;
+ const char *fileend;
+ const char *bootblockbegin;
+ const char *bootblockend;
+ const char *groupbegin;
+ const char *groupend;
+ const char *datasetbegin;
+ const char *datasetend;
+ const char *attributebegin;
+ const char *attributeend;
+ const char *datatypebegin;
+ const char *datatypeend;
+ const char *dataspacebegin;
+ const char *dataspaceend;
+ const char *databegin;
+ const char *dataend;
+ const char *softlinkbegin;
+ const char *softlinkend;
+
+ const char *fileblockbegin;
+ const char *fileblockend;
+ const char *bootblockblockbegin;
+ const char *bootblockblockend;
+ const char *groupblockbegin;
+ const char *groupblockend;
+ const char *datasetblockbegin;
+ const char *datasetblockend;
+ const char *attributeblockbegin;
+ const char *attributeblockend;
+ const char *datatypeblockbegin;
+ const char *datatypeblockend;
+ const char *dataspaceblockbegin;
+ const char *dataspaceblockend;
+ const char *datablockbegin;
+ const char *datablockend;
+ const char *softlinkblockbegin;
+ const char *softlinkblockend;
+ const char *strblockbegin;
+ const char *strblockend;
+ const char *enumblockbegin;
+ const char *enumblockend;
+
+ const char *dataspacedescriptionbegin;
+ const char *dataspacedescriptionend;
+ const char *dataspacedimbegin;
+ const char *dataspacedimend;
+
+} dump_header;
+
hid_t h5dump_fixtype(hid_t f_type);
int h5dump_dset(FILE *stream, const h5dump_t *info, hid_t dset, hid_t p_typ,int indentlevel);
int h5dump_mem(FILE *stream, const h5dump_t *info, hid_t type, hid_t space,