diff options
Diffstat (limited to 'src/H5FDprivate.h')
-rw-r--r-- | src/H5FDprivate.h | 17 |
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); |