summaryrefslogtreecommitdiffstats
path: root/src/H5FDpublic.h
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2017-05-31 21:45:41 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2017-05-31 21:45:41 (GMT)
commitfb5c13d59c8f17dca9bbe0e35e00920be2690af3 (patch)
treecb4e57d7263e8089c5f32cde3bd8ac631ec93d46 /src/H5FDpublic.h
parentef60bcd50e5cd3f66b7cd91a6b816a59c36922e2 (diff)
downloadhdf5-fb5c13d59c8f17dca9bbe0e35e00920be2690af3.zip
hdf5-fb5c13d59c8f17dca9bbe0e35e00920be2690af3.tar.gz
hdf5-fb5c13d59c8f17dca9bbe0e35e00920be2690af3.tar.bz2
Merge of recent develop work to 1.10 branch:
* H5FD_FEAT_DEFAULT_VFD_COMPATIBLE VFD feature flag (HDFFV-10214) * H5FDdriver_query() API call (HDFFV-10215) * Fix to skip SWMR tests that when the current VFD is not compatible with the default VFD (HDFFV-10197) * Removed obsolete compiler versions from config/gnu-flags (HDFFV-9937) * Many warning fixes
Diffstat (limited to 'src/H5FDpublic.h')
-rw-r--r--src/H5FDpublic.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/H5FDpublic.h b/src/H5FDpublic.h
index 3032e8a..514d1bf 100644
--- a/src/H5FDpublic.h
+++ b/src/H5FDpublic.h
@@ -250,6 +250,14 @@ typedef enum H5F_mem_t H5FD_mem_t;
* This is specifically used for the multi/split driver.
*/
#define H5FD_FEAT_PAGED_AGGR 0x00004000
+ /*
+ * Defining H5FD_FEAT_DEFAULT_VFD_COMPATIBLE for a VFL driver
+ * that creates a file which is compatible with the default VFD.
+ * Generally, this means that the VFD creates a single file that follows
+ * the canonical HDF5 file format.
+ */
+#define H5FD_FEAT_DEFAULT_VFD_COMPATIBLE 0x00008000
+
/* Forward declaration */
typedef struct H5FD_t H5FD_t;
@@ -376,6 +384,9 @@ H5_DLL herr_t H5FDtruncate(H5FD_t *file, hid_t dxpl_id, hbool_t closing);
H5_DLL herr_t H5FDlock(H5FD_t *file, hbool_t rw);
H5_DLL herr_t H5FDunlock(H5FD_t *file);
+/* Allows querying a VFD ID for features before the file is opened */
+H5_DLL herr_t H5FDdriver_query(hid_t driver_id, unsigned long *flags/*out*/);
+
#ifdef __cplusplus
}
#endif