summaryrefslogtreecommitdiffstats
path: root/src/H5Epublic.h
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1997-12-16 21:08:26 (GMT)
committerRobb Matzke <matzke@llnl.gov>1997-12-16 21:08:26 (GMT)
commite615fc7a982c1817cf7d4c24adf9323604692310 (patch)
tree5dab77c6c1a4476ab5b5953c45f1ea6a1b5d994e /src/H5Epublic.h
parentfaca6fbaa8c557b18d6b264841fc8717d1e73816 (diff)
downloadhdf5-e615fc7a982c1817cf7d4c24adf9323604692310.zip
hdf5-e615fc7a982c1817cf7d4c24adf9323604692310.tar.gz
hdf5-e615fc7a982c1817cf7d4c24adf9323604692310.tar.bz2
[svn-r146] ./src/H5.c
Changes to error handling. ./src/H5B.c Increased size of internal static buffers. ./src/H5C.c Fixed syntax error when NDEBUG is defined. ./src/H5E.c ./src/H5Eprivate.h ./src/H5Epublic.h Errors can now be printed with H5Eprint(). Other minor changes to names and arg types. ./src/H5F.c The base address is now stored in the boot block. The user block size and the base address are synonyms. ./src/H5Fstdio.c Fixed a bug with a return value from fseek(). ./src/H5H.c Added alignment constraints to get rid of unaligned access errors on the DEC alpha having to do with the heap free list. ./src/H5P.c ./src/H5Ppublic.h Changed some size arguments from int to size_t and fixed memory allocation calls. ./src/H5T.c ./src/H5Tpublic.h Changed the order of functions so all the public ones are at the top of the file. Other minor changes. ./src/H5detect.c Added a newline to a string constant.
Diffstat (limited to 'src/H5Epublic.h')
-rw-r--r--src/H5Epublic.h24
1 files changed, 10 insertions, 14 deletions
diff --git a/src/H5Epublic.h b/src/H5Epublic.h
index 57f40e5..f11a900 100644
--- a/src/H5Epublic.h
+++ b/src/H5Epublic.h
@@ -19,8 +19,11 @@
#ifndef _H5Epublic_H
#define _H5Epublic_H
+#include <stdio.h> /*FILE arg of H5Eprint() */
+
/* Public headers needed by this file */
#include <H5public.h>
+#include <H5Apublic.h>
/*
* Declare an enumerated type which holds all the valid major HDF error codes.
@@ -114,25 +117,18 @@ typedef enum H5E_minor_t {
H5E_LINK /* Link count failure */
} H5E_minor_t;
-/* Function pointer to report errors through */
-typedef herr_t (*H5E_push_func_t)(int32 errid, H5E_major_t maj,
- H5E_minor_t min, const char *function_name,
- const char *file_name, intn line);
#ifdef __cplusplus
extern "C" {
#endif
-/* Functions in H5E.c */
-int32 H5Enew_err_stack (uintn initial_stack_size);
-intn H5Edelete_err_stack (int32 err_hand);
-#ifdef H5_ERROR_DEBUG
-H5E_push_func_t H5Eset_push (H5E_push_func_t func);
-#endif
-herr_t H5Epush (H5E_major_t maj, H5E_minor_t min, const char *function_name,
- const char *file_name, intn line);
-herr_t H5Eclear(int32 err_hand);
-void H5E_term_interface(void);
+hid_t H5Ecreate (uintn initial_stack_nelmts);
+herr_t H5Eclose (hid_t estack_id);
+herr_t H5Epush (hid_t estack_id, H5E_major_t maj_num, H5E_minor_t min_num,
+ const char *function_name, const char *file_name, intn line,
+ const char *desc);
+herr_t H5Eclear (hid_t estack_id);
+herr_t H5Eprint (hid_t estack_id, FILE *file);
#ifdef __cplusplus
}