summaryrefslogtreecommitdiffstats
path: root/fortran/src/H5f90.h
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2000-09-19 20:06:49 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2000-09-19 20:06:49 (GMT)
commit8055378bcecfc77af85b2bb07e7904edc9492789 (patch)
tree01c100c34cd727b9dc15ae21c89b6e0dfa361303 /fortran/src/H5f90.h
parent8272da0b67a9ef3a7299fd10cc5f3ccbf80cbeae (diff)
downloadhdf5-8055378bcecfc77af85b2bb07e7904edc9492789.zip
hdf5-8055378bcecfc77af85b2bb07e7904edc9492789.tar.gz
hdf5-8055378bcecfc77af85b2bb07e7904edc9492789.tar.bz2
[svn-r2576] Purpose:
Adding the Fortran interface to the HDF5 library Description: Fortran is now a subdirectory of the HDF5 library tree. Platforms tested: Solaris and IRIX (O2K)
Diffstat (limited to 'fortran/src/H5f90.h')
-rw-r--r--fortran/src/H5f90.h77
1 files changed, 77 insertions, 0 deletions
diff --git a/fortran/src/H5f90.h b/fortran/src/H5f90.h
new file mode 100644
index 0000000..c01cd1f
--- /dev/null
+++ b/fortran/src/H5f90.h
@@ -0,0 +1,77 @@
+#ifndef _H5f90_H
+#define _H5f90_H
+
+#include <hdf5.h>
+#include "H5f90i.h"
+#include "H5f90proto.h"
+
+
+/* Constants from the H5Ff.c and H5Fff.f90 files */
+
+
+#define H5F_ACC_RDWR_F 1
+#define H5F_ACC_RDONLY_F 2
+#define H5F_ACC_TRUNC_F 3
+#define H5F_ACC_EXCL_F 4
+#define H5F_ACC_DEBUG_F 5
+#define H5P_DEFAULT_F 6 /* Can Fortran program use combination
+ of those flags? */
+#define H5F_SCOPE_LOCAL_F 0
+#define H5F_SCOPE_GLOBAL_F 1
+
+/* Constants used in the H5Gf.c and H5Gff.f90 files */
+
+#define OBJECT_NAMELEN_DEFAULT_F -1
+#define H5G_LINK_F 0
+#define H5G_GROUP_F 1
+#define H5G_DATASET_F 2
+#define H5G_TYPE_F 3
+
+
+/* Constants used in H5Df.c and H5Dff.f90 files */
+
+#define H5S_ALL_F -2
+
+/* Constants used in H5Sf.c and H5Sff.f90 files */
+
+#define H5S_NO_CLASS_F -1
+#define H5S_SCALAR_F 0
+#define H5S_SIMPLE_F 1
+#define H5S_SELECT_SET_F 0
+#define H5S_SELECT_OR_F 1
+
+/* Constants ised in H5Tf.c and H5Tff.f90 files */
+
+
+#define H5T_NO_CLASS_F -1
+#define H5T_INTEGER_F 0
+#define H5T_FLOAT_F 1
+#define H5T_TIME_F 2
+#define H5T_STRING_F 3
+#define H5T_BITFIELD_F 4
+#define H5T_OPAQUE_F 5
+#define H5T_COMPOUND_F 6
+#define H5T_REFERENCE_F 7
+#define H5T_ENUM_F 8
+
+#define H5T_ORDER_LE_F 0
+#define H5T_ORDER_BE_F 1
+#define H5T_ORDER_VAX_F 2
+
+
+/* Constants used in H5Pf.c and H5Pff.f90 files */
+
+
+#define H5P_NO_CLASS_F -1
+#define H5P_FILE_CREATE_F 0
+#define H5P_FILE_ACCESS_F 1
+#define H5P_DATASET_CREATE_F 2
+#define H5P_DATASET_XFER_F 3
+#define H5P_MOUNT_F 4
+
+/* Constants used in H5Pf_parallel.c and H5Pff_parallel.f90 files */
+#define H5D_XFER_INDEPENDENT_F 0
+#define H5D_XFER_COLLECTIVE_F 1
+#define H5D_XFER_DFLT_F 2
+
+#endif /* _H5f90_H */