summaryrefslogtreecommitdiffstats
path: root/src/H5FDprivate.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-10-27 16:32:12 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-10-27 16:32:12 (GMT)
commit76409b1d819e03ffd3c9070aefc49171d586f6f3 (patch)
tree2009665184e79b051af12c852506b216da8ecc08 /src/H5FDprivate.h
parent28c2e442dd04b456383420c6eebfadbdb6234ec5 (diff)
downloadhdf5-76409b1d819e03ffd3c9070aefc49171d586f6f3.zip
hdf5-76409b1d819e03ffd3c9070aefc49171d586f6f3.tar.gz
hdf5-76409b1d819e03ffd3c9070aefc49171d586f6f3.tar.bz2
[svn-r7743] Purpose:
Code cleanup Description: Clean up setup code for collective I/O transfers to make the logic more obvious. Platforms tested: FreeBSD 4.9 (sleipnir) too minor for h5committest
Diffstat (limited to 'src/H5FDprivate.h')
-rw-r--r--src/H5FDprivate.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/H5FDprivate.h b/src/H5FDprivate.h
index a53bbd3..6eaf938 100644
--- a/src/H5FDprivate.h
+++ b/src/H5FDprivate.h
@@ -19,8 +19,25 @@
#ifndef _H5FDprivate_H
#define _H5FDprivate_H
+/* Include package's public header */
#include "H5FDpublic.h"
+/* Private headers needed by this file */
+
+/*
+ * The MPIO, MPIPOSIX, & FPHDF5 drivers are needed because there are
+ * places where we check for things that aren't handled by these drivers.
+ */
+#include "H5FDfphdf5.h"
+#include "H5FDmpio.h"
+#include "H5FDmpiposix.h"
+
+/* Macros */
+
+/* Single macro to check for all file drivers that use MPI */
+#define IS_H5FD_MPI(file) \
+ (IS_H5FD_MPIO(file) || IS_H5FD_MPIPOSIX(file) || IS_H5FD_FPHDF5(file))
+
H5_DLL int H5FD_term_interface(void);
H5_DLL H5FD_class_t *H5FD_get_class(hid_t id);
H5_DLL hsize_t H5FD_sb_size(H5FD_t *file);