summaryrefslogtreecommitdiffstats
path: root/tools/h5tools.h
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-07-24 14:28:32 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-07-24 14:28:32 (GMT)
commit78c70d7be5430c106c53f5c067128518bc874d7d (patch)
treebf4445accf81ab4d6f218ade9712fd9a70d383af /tools/h5tools.h
parent181a423f85bf5febedd0d1b083e77f8b978d5b50 (diff)
downloadhdf5-78c70d7be5430c106c53f5c067128518bc874d7d.zip
hdf5-78c70d7be5430c106c53f5c067128518bc874d7d.tar.gz
hdf5-78c70d7be5430c106c53f5c067128518bc874d7d.tar.bz2
[svn-r541] Changes since 19980723
---------------------- ./tools/h5dump.c ./tools/h5ls.c ./tools/h5tools.h Able to handle compound data types now. Moved code that chooses memory data type based on file data type from h5ls to libh5tools.a(h5dump.o)
Diffstat (limited to 'tools/h5tools.h')
-rw-r--r--tools/h5tools.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/h5tools.h b/tools/h5tools.h
index 966eaff..3b9b231 100644
--- a/tools/h5tools.h
+++ b/tools/h5tools.h
@@ -18,6 +18,28 @@
*/
typedef struct h5dump_t {
/*
+ * Fields associated with compound data types.
+ *
+ * name: How the name of the struct member is printed in the
+ * values. By default the name is not printed, but a
+ * reasonable setting might be "%s=" which prints the name
+ * followed by an equal sign and then the value.
+ *
+ * sep: A string that separates one member from another. The
+ * default is a comma.
+ *
+ * pre: A string to print at the beginning of a compound type.
+ * The default is a left curly brace.
+ *
+ * suf: A string to print at the end of each compound type. The
+ * default is a right curly brace.
+ */
+ const char *cmpd_name;
+ const char *cmpd_sep;
+ const char *cmpd_pre;
+ const char *cmpd_suf;
+
+ /*
* Fields associated with the individual elements.
*
* fmt: A printf(3c) format to use to print the value string