diff options
author | Quincey Koziol <koziol@koziol.gov> | 2019-08-21 18:14:06 (GMT) |
---|---|---|
committer | Jerome Soumagne <jsoumagne@hdfgroup.org> | 2019-10-08 19:30:23 (GMT) |
commit | eaa65c862b09b399fc4727e664b56b648cfb37d2 (patch) | |
tree | cdf8678ee9adce377505dddac2df564b0e20b269 /src/H5VLnative.c | |
parent | f32e70895ef278a48c498477b9c29f131819e2f4 (diff) | |
download | hdf5-eaa65c862b09b399fc4727e664b56b648cfb37d2.zip hdf5-eaa65c862b09b399fc4727e664b56b648cfb37d2.tar.gz hdf5-eaa65c862b09b399fc4727e664b56b648cfb37d2.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.c | 10 |
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 */ }; |