From e38e7d1c8e365e2398ccc1788069b13070dd3f6c Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Thu, 16 Jul 2009 08:35:32 +0000 Subject: [PATCH] error handler added --- src/H5.c | 18 ++++++++++++++++++ src/H5.h | 14 ++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/src/H5.c b/src/H5.c index c2e822b..9b58734 100644 --- a/src/H5.c +++ b/src/H5.c @@ -234,6 +234,24 @@ H5GetErrorHandler ( return h5_get_errorhandler(); } +h5_err_t +H5ReportErrorhandler ( + h5_file_t * const f, + const char *fmt, + va_list ap + ) { + return h5_report_errorhandler ( f, fmt, ap ); +} + +h5_err_t +H5AbortErrorhandler ( + h5_file_t * const f, + const char *fmt, + va_list ap + ) { + return h5_abort_errorhandler ( f, fmt, ap ); +} + /*! \ingroup h5part_c_api_errhandling diff --git a/src/H5.h b/src/H5.h index 6f6685f..be60e85 100644 --- a/src/H5.h +++ b/src/H5.h @@ -86,6 +86,20 @@ H5GetErrorHandler ( void ); +h5_err_t +H5ReportErrorhandler ( + h5_file_t * const f, + const char *fmt, + va_list ap + ); + +h5_err_t +H5AbortErrorhandler ( + h5_file_t * const f, + const char *fmt, + va_list ap + ); + h5_err_t H5GetErrno ( h5_file_t * const f