summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5tools.h
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2009-09-14 19:52:42 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2009-09-14 19:52:42 (GMT)
commit43db8230440604cac42af68264465c8a24605647 (patch)
tree1fc8f9d2969ab3a4243ce2f64316e028ed11fd7e /tools/lib/h5tools.h
parentfa3eab20dddb1b816e36c41d8bdb189ec34bbd0a (diff)
downloadhdf5-43db8230440604cac42af68264465c8a24605647.zip
hdf5-43db8230440604cac42af68264465c8a24605647.tar.gz
hdf5-43db8230440604cac42af68264465c8a24605647.tar.bz2
[svn-r17475] Added error handling to h5dump and region reference handling functions in the tools lib. Bring back from NPOESS. Added missing tests to h5dump test script for region references.
Tested: local linux
Diffstat (limited to 'tools/lib/h5tools.h')
-rw-r--r--tools/lib/h5tools.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/tools/lib/h5tools.h b/tools/lib/h5tools.h
index bc29009..2b1e4bf 100644
--- a/tools/lib/h5tools.h
+++ b/tools/lib/h5tools.h
@@ -23,6 +23,7 @@
#define H5TOOLS_H__
#include "hdf5.h"
+#include "h5tools_error.h"
#define ESCAPE_HTML 1
#define OPT(X,S) ((X) ? (X) : (S))
@@ -558,14 +559,10 @@ void init_acc_pos(h5tools_context_t *ctx, hsize_t *dims);
*/
void h5tools_dump_datatype(FILE *stream, const h5tool_format_t *info,
h5tools_context_t *ctx/*in,out*/, hid_t type);
-void h5tools_print_dataspace(h5tools_str_t *buffer/*in,out*/,
- const h5tool_format_t *info, h5tools_context_t *ctx/*in,out*/,
- hid_t space);
-void h5tools_print_datatype(h5tools_str_t *buffer/*in,out*/,
+int h5tools_print_dataspace(h5tools_str_t *buffer/*in,out*/, hid_t space);
+int h5tools_print_datatype(h5tools_str_t *buffer/*in,out*/,
const h5tool_format_t *info, h5tools_context_t *ctx/*in,out*/,
hid_t type);
-void h5tools_print_enum(h5tools_str_t *buffer/*in,out*/,
- const h5tool_format_t *info, h5tools_context_t *ctx/*in,out*/,
- hid_t type);
+int h5tools_print_enum(h5tools_str_t *buffer/*in,out*/, hid_t type);
#endif /* H5TOOLS_H__ */