summaryrefslogtreecommitdiffstats
path: root/src/H5public.h
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-01-22 16:41:32 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-01-22 16:41:32 (GMT)
commita0ee2c57e934c5ff2269e345238a6ee019f6c294 (patch)
tree08a553617329401737ddff6af60ccd11a13cc6a3 /src/H5public.h
parentfdfb6dfd26410b931b4452f832b5a4aedec283e0 (diff)
downloadhdf5-a0ee2c57e934c5ff2269e345238a6ee019f6c294.zip
hdf5-a0ee2c57e934c5ff2269e345238a6ee019f6c294.tar.gz
hdf5-a0ee2c57e934c5ff2269e345238a6ee019f6c294.tar.bz2
[svn-r164] Changes since 19980122
---------------------- ./src/*.h Fixed indentation where indent(1) screwed up. This isn't by any means the final say, but it's better than it was. ./src/H5A.c ./src/H5Aprivate.h ./src/H5Apublic.h ./src/H5C.c ./src/H5D.c ./src/H5E.c ./src/H5F.c ./src/H5G.c ./src/H5M.c ./src/H5P.c ./src/H5T.c ./src/H5Tconv.c ./src/debug.c ./test/dtypes.c ./test/istore.c ./test/theap.c ./test/tohdr.c ./test/tstab.c Removed some atom functions from the API and made them library-scope. Also changed some names by removing the redundant `atom' from the name and by adding a `_' after the `H5A'.
Diffstat (limited to 'src/H5public.h')
-rw-r--r--src/H5public.h22
1 files changed, 10 insertions, 12 deletions
diff --git a/src/H5public.h b/src/H5public.h
index b92d498..8fa0cc4 100644
--- a/src/H5public.h
+++ b/src/H5public.h
@@ -10,15 +10,13 @@
* *
****************************************************************************/
-/* $Id$ */
-
/*
* This file contains public declarations for the H5 module.
*/
-
#ifndef _H5public_H
#define _H5public_H
-#include <H5config.h> /* From configure */
+
+#include <H5config.h> /*from configure */
#include <sys/types.h>
/*
@@ -93,6 +91,7 @@ typedef unsigned uintn;
* values.
*/
typedef intn herr_t;
+
#define SUCCEED 0
#define FAIL (-1)
#define UFAIL (unsigned)(-1)
@@ -101,22 +100,21 @@ typedef intn herr_t;
* Boolean type.
*/
typedef enum {
- BFAIL = (-1), /*error value */
- BFALSE = 0,
- BTRUE = 1
+ BFAIL = (-1), /*error value */
+ BFALSE = 0,
+ BTRUE = 1
} hbool_t;
#ifdef __cplusplus
-extern "C" {
+extern "C" {
#endif
/* Functions in H5.c */
- herr_t H5init(void);
- herr_t H5dont_atexit(void);
- herr_t H5version(uintn *majnum, uintn *minnum, uintn *relnum, uintn *patnum);
+herr_t H5init (void);
+herr_t H5dont_atexit (void);
+herr_t H5version (uintn *majnum, uintn *minnum, uintn *relnum, uintn *patnum);
#ifdef __cplusplus
}
-
#endif
#endif