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/H5Fquery.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/H5Fquery.c')
-rw-r--r-- | src/H5Fquery.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/H5Fquery.c b/src/H5Fquery.c index f36f348..69b042d 100644 --- a/src/H5Fquery.c +++ b/src/H5Fquery.c @@ -1279,3 +1279,28 @@ H5F_get_null_fsm_addr(const H5F_t *f) FUNC_LEAVE_NOAPI(f->shared->null_fsm_addr) } /* end H5F_get_null_fsm_addr() */ + + +/*------------------------------------------------------------------------- + * Function: H5F_get_vol_cls + * + * Purpose: Get the VOL class for the file + * + * Return: VOL class pointer for file, can't fail + * + * Programmer: Quincey Koziol + * Saturday, August 17, 2019 + * + *------------------------------------------------------------------------- + */ +const H5VL_class_t * +H5F_get_vol_cls(const H5F_t *f) +{ + FUNC_ENTER_NOAPI_NOINIT_NOERR + + HDassert(f); + HDassert(f->shared); + + FUNC_LEAVE_NOAPI(f->shared->vol_cls) +} /* end H5F_get_vol_cls */ + |