summaryrefslogtreecommitdiffstats
path: root/src/H5Eprivate.h
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2003-07-22 01:32:10 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2003-07-22 01:32:10 (GMT)
commit032396d4828a83362d8a6b3a72af0038689a0ff4 (patch)
tree2d14388f50879cfc5cabc6f85cfcbc7c6233c727 /src/H5Eprivate.h
parentb7dbfc3796ebbf4fedd4fe406c833363591368f0 (diff)
downloadhdf5-032396d4828a83362d8a6b3a72af0038689a0ff4.zip
hdf5-032396d4828a83362d8a6b3a72af0038689a0ff4.tar.gz
hdf5-032396d4828a83362d8a6b3a72af0038689a0ff4.tar.bz2
[svn-r7244] Purpose: gradual checkin for error API
Platforms tested: h5committest
Diffstat (limited to 'src/H5Eprivate.h')
-rw-r--r--src/H5Eprivate.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/H5Eprivate.h b/src/H5Eprivate.h
index a08a727..d4ce7e5 100644
--- a/src/H5Eprivate.h
+++ b/src/H5Eprivate.h
@@ -41,10 +41,22 @@ typedef struct H5E_msg_t {
H5E_cls_t *cls;
} H5E_msg_t;
+/* Printing information */
+typedef struct H5E_print_t {
+ FILE *stream;
+ H5E_cls_t *cls;
+} H5E_print_t;
+
+/*H5_DLLVAR herr_t (*H5E_auto_g_new)(hid_t estack, void *client_data);
+H5_DLLVAR void *H5E_auto_data_g_new;
+*/
+
/* An error stack */
typedef struct H5E_t_new {
int nused; /*num slots currently used in stack */
H5E_error_t_new slot[H5E_NSLOTS]; /*array of error records */
+ H5E_auto_t func;
+ void *auto_data;
} H5E_t_new;
#ifdef TMP
@@ -303,6 +315,8 @@ H5_DLL herr_t H5E_clear_new(H5E_t_new *estack);
H5_DLL herr_t H5E_print_new(H5E_t_new *estack, FILE *stream);
H5_DLL herr_t H5E_walk_new (H5E_t_new *estack, H5E_direction_t direction, H5E_walk_t_new func,
void *client_data);
+H5_DLL herr_t H5E_get_auto_new(H5E_t_new *estack, H5E_auto_t *func, void **client_data);
+H5_DLL herr_t H5E_set_auto_new(H5E_t_new *estack, H5E_auto_t func, void *client_data);
#endif /* NEW_ERR */