summaryrefslogtreecommitdiffstats
path: root/src/H5FDfphdf5.h
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2003-02-21 13:58:10 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2003-02-21 13:58:10 (GMT)
commit23af46a164bfcef79520848028e90e74eb09fd27 (patch)
tree678d708bc79477fe5057b58db61682473309e0d2 /src/H5FDfphdf5.h
parent0dc2b9ea164434583bdbd4e63aafe21b61d80f58 (diff)
downloadhdf5-23af46a164bfcef79520848028e90e74eb09fd27.zip
hdf5-23af46a164bfcef79520848028e90e74eb09fd27.tar.gz
hdf5-23af46a164bfcef79520848028e90e74eb09fd27.tar.bz2
[svn-r6424] Purpose:
Update Description: Added support for allocating and freeing space in the file. Platforms tested: Linux & Modi4
Diffstat (limited to 'src/H5FDfphdf5.h')
-rw-r--r--src/H5FDfphdf5.h24
1 files changed, 15 insertions, 9 deletions
diff --git a/src/H5FDfphdf5.h b/src/H5FDfphdf5.h
index 3f46158..a92dbb4 100644
--- a/src/H5FDfphdf5.h
+++ b/src/H5FDfphdf5.h
@@ -16,8 +16,7 @@
#define H5FDFPHDF5_H__
#include "H5FDmpio.h"
-#include "H5FDpublic.h"
-#include "H5Ipublic.h"
+#include "H5FDprivate.h"
#ifdef H5_HAVE_PARALLEL
# define H5FD_FPHDF5 (H5FD_fphdf5_init())
@@ -27,20 +26,25 @@
/* Macros */
-#define IS_H5FD_FPHDF5(f) (H5F_get_driver_id(f) == H5FD_FPHDF5)
+#ifndef H5_HAVE_FPHDF5
-#ifdef H5_HAVE_PARALLEL
+/* If FPHDF5 isn't specified, make this a "FALSE" value */
+#define IS_H5FD_FPHDF5(f) (0)
+
+#else
+
+#define IS_H5FD_FPHDF5(f) (H5F_get_driver_id(f) == H5FD_FPHDF5)
/* Turn on H5FDfphdf5_debug if H5F_DEBUG is on */
-#ifdef H5F_DEBUG
-# ifndef H5FDfphdf5_DEBUG
-# define H5FDfphdf5_DEBUG
-# endif
-#endif
+#if defined(H5F_DEBUG) && !defined(H5FDfphdf5_DEBUG)
+# define H5FDfphdf5_DEBUG
+#endif /* H5F_DEBUG && ! H5FDfphdf5_DEBUG */
#define H5FD_FPHDF5_XFER_DUMPING_METADATA "H5FD_fphdf5_dumping_metadata"
#define H5FD_FPHDF5_XFER_DUMPING_SIZE sizeof(unsigned)
+extern const H5FD_class_t H5FD_fphdf5_g;
+
/* Function prototypes */
#ifdef __cplusplus
extern "C" {
@@ -73,6 +77,8 @@ H5_DLL herr_t H5FD_fphdf5_setup(hid_t dxpl_id, MPI_Datatype btype,
H5_DLL herr_t H5FD_fphdf5_teardown(hid_t dxpl_id);
H5_DLL int H5FD_fphdf5_mpi_rank(H5FD_t *_file);
H5_DLL int H5FD_fphdf5_mpi_size(H5FD_t *_file);
+H5_DLL unsigned H5FD_fphdf5_file_id(H5FD_t *_file);
+H5_DLL hbool_t H5FD_fphdf5_is_sap(H5FD_t *_file);
H5_DLL herr_t H5FD_fphdf5_write_real(H5FD_t *_file, hid_t dxpl_id,
MPI_Offset mpi_off, int size,