diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2013-02-18 19:03:53 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2013-02-18 19:03:53 (GMT) |
commit | 1629fd1ee78c33fdfd8328eef520a7e10aa945a8 (patch) | |
tree | 492cbade970f0660eb3436c5bcde3e712e30e37e /tools/lib/h5tools.h | |
parent | 79bc86c220bfc7de65f1fe5e5c49088d9cfbd659 (diff) | |
download | hdf5-1629fd1ee78c33fdfd8328eef520a7e10aa945a8.zip hdf5-1629fd1ee78c33fdfd8328eef520a7e10aa945a8.tar.gz hdf5-1629fd1ee78c33fdfd8328eef520a7e10aa945a8.tar.bz2 |
[svn-r23301]
Diffstat (limited to 'tools/lib/h5tools.h')
-rw-r--r-- | tools/lib/h5tools.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/lib/h5tools.h b/tools/lib/h5tools.h index 4fbd84f..efadba4 100644 --- a/tools/lib/h5tools.h +++ b/tools/lib/h5tools.h @@ -36,6 +36,12 @@ #define H5TOOLS_DUMP_MAX_RANK H5S_MAX_RANK +/* Stream macros */ +#define FLUSHSTREAM(S) if(S != NULL) HDfflush(S) +#define PRINTSTREAM(S, F, ...) if(S != NULL) HDfprintf(S, F, __VA_ARGS__) +#define PRINTVALSTREAM(S, V) if(S != NULL) HDfprintf(S, V) +#define PUTSTREAM(X,S) if(S != NULL) HDfputs(X, S); + /* * Strings for output - these were duplicated from the h5dump.h * file in order to support region reference data display @@ -524,6 +530,7 @@ H5TOOLS_DLLVAR int packed_bits_num; /* number of packed bits to display H5TOOLS_DLLVAR int packed_data_offset; /* offset of packed bits to display */ H5TOOLS_DLLVAR int packed_data_length; /* lengtht of packed bits to display */ H5TOOLS_DLLVAR unsigned long long packed_data_mask; /* mask in which packed bits to display */ +H5TOOLS_DLLVAR FILE *rawattrstream; /* output stream for raw attribute data */ H5TOOLS_DLLVAR FILE *rawdatastream; /* output stream for raw data */ H5TOOLS_DLLVAR FILE *rawoutstream; /* output stream for raw output */ H5TOOLS_DLLVAR FILE *rawerrorstream; /* output stream for raw error */ |