summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5tools.h
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2006-06-26 14:41:59 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2006-06-26 14:41:59 (GMT)
commit8846157e5985458fd0a3ddb47658a14d10fb97b2 (patch)
treef542f006bbe7cfa82455610de5e329b3667c6284 /tools/lib/h5tools.h
parent4dfad81062f0b195ee9fd10f0b4e5ba2f6056aeb (diff)
downloadhdf5-8846157e5985458fd0a3ddb47658a14d10fb97b2.zip
hdf5-8846157e5985458fd0a3ddb47658a14d10fb97b2.tar.gz
hdf5-8846157e5985458fd0a3ddb47658a14d10fb97b2.tar.bz2
[svn-r12437] Purpose:
new feature. h5dump output of binary data Description: a new switch -b FILE_NAME that dumps the contents of memory data to file FILE_NAME in binary form new program binread.c that reads the contents of this file and outputs it to stdout added a test for the h5dump shell script that does a run of -b the binread.c program reads the data used in this run, usage is ./binread FILE_NAME Solution: Platforms tested: linux solaris AIX Misc. update:
Diffstat (limited to 'tools/lib/h5tools.h')
-rw-r--r--tools/lib/h5tools.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/lib/h5tools.h b/tools/lib/h5tools.h
index 4bbc2d6..861c474 100644
--- a/tools/lib/h5tools.h
+++ b/tools/lib/h5tools.h
@@ -352,7 +352,9 @@ struct subset_t {
hsize_t *block;
};
-extern FILE *rawdatastream; /*output stream for raw data */
+extern FILE *rawdatastream; /* output stream for raw data */
+extern int bin_output; /* binary output */
+
/* Strings for output */
#define GROUP "GROUP"