summaryrefslogtreecommitdiffstats
path: root/src/H5VLnative.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@koziol.gov>2019-08-21 18:14:06 (GMT)
committerJerome Soumagne <jsoumagne@hdfgroup.org>2019-10-08 20:18:27 (GMT)
commitff490b4a69029fa75a39258bbab67784e9743de9 (patch)
treea01224b54f5a3d37f2aadf130450313c01656872 /src/H5VLnative.c
parente487737b4fb7267385d8219796263ef29c3b9b95 (diff)
downloadhdf5-ff490b4a69029fa75a39258bbab67784e9743de9.zip
hdf5-ff490b4a69029fa75a39258bbab67784e9743de9.tar.gz
hdf5-ff490b4a69029fa75a39258bbab67784e9743de9.tar.bz2
Add 'blob' callbacks to VOL, along with a native implementation to store them
in the global heap, and changed the VL datatype conversion code to use blobs. Move encode/decode of sequence lengths into VL datatype callbacks, from native VOL blob routines.
Diffstat (limited to 'src/H5VLnative.c')
-rw-r--r--src/H5VLnative.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/H5VLnative.c b/src/H5VLnative.c
index 7848c5d..c705aad 100644
--- a/src/H5VLnative.c
+++ b/src/H5VLnative.c
@@ -11,8 +11,8 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*
- * Purpose: The native VOL connector where access is to a single HDF5 file
- * using HDF5 VFDs.
+ * Purpose: The native VOL connector where access is to a single HDF5 file
+ * using HDF5 VFDs.
*/
#include "H5private.h" /* Generic Functions */
@@ -120,6 +120,12 @@ static H5VL_class_t H5VL_native_cls_g = {
NULL, /* optional */
NULL /* free */
},
+ { /* blob_cls */
+ H5VL__native_blob_put, /* put */
+ H5VL__native_blob_get, /* get */
+ H5VL__native_blob_specific, /* specific */
+ H5VL__native_blob_optional /* optional */
+ },
NULL /* optional */
};