summaryrefslogtreecommitdiffstats
path: root/src/H5VLpassthru.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2018-12-23 06:18:42 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2018-12-23 06:18:42 (GMT)
commitc3f51c52d098d6cd2e6c2955a50140bdb45571c6 (patch)
tree3fbc8a16ba3140b0f7ed1febfbff9afb511073bd /src/H5VLpassthru.h
parent251ba120b5e3277a0e53e9ea2417f6b370cf7d05 (diff)
parent7d28a4295ebac24dd0a84da9f4b880488d8bd32f (diff)
downloadhdf5-c3f51c52d098d6cd2e6c2955a50140bdb45571c6.zip
hdf5-c3f51c52d098d6cd2e6c2955a50140bdb45571c6.tar.gz
hdf5-c3f51c52d098d6cd2e6c2955a50140bdb45571c6.tar.bz2
Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_bmr_fixbug into develop
Diffstat (limited to 'src/H5VLpassthru.h')
-rw-r--r--src/H5VLpassthru.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/src/H5VLpassthru.h b/src/H5VLpassthru.h
new file mode 100644
index 0000000..e640636
--- /dev/null
+++ b/src/H5VLpassthru.h
@@ -0,0 +1,46 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Copyright by The HDF Group. *
+ * All rights reserved. *
+ * *
+ * This file is part of HDF5. The full HDF5 copyright notice, including *
+ * terms governing use, modification, and redistribution, is contained in *
+ * the COPYING file, which can be found at the root of the source code *
+ * distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
+ * If you do not have access to either file, you may request a copy from *
+ * help@hdfgroup.org. *
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
+/*
+ * Purpose: The public header file for the pass-through VOL connector.
+ */
+
+#ifndef _H5VLpassthru_H
+#define _H5VLpassthru_H
+
+/* Identifier for the pass-through VOL connector */
+#define H5VL_PASSTHRU (H5VL_pass_through_register())
+
+/* Characteristics of the pass-through VOL connector */
+#define H5VL_PASSTHRU_NAME "pass_through"
+#define H5VL_PASSTHRU_VALUE 505 /* VOL connector ID */
+#define H5VL_PASSTHRU_VERSION 0
+
+/* Pass-through VOL connector info */
+typedef struct H5VL_pass_through_info_t {
+ hid_t under_vol_id; /* VOL ID for under VOL */
+ void *under_vol_info; /* VOL info for under VOL */
+} H5VL_pass_through_info_t;
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+H5_DLL hid_t H5VL_pass_through_register(void);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _H5VLpassthru_H */
+