diff options
author | Quincey Koziol <koziol@lbl.gov> | 2019-04-23 16:06:04 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@lbl.gov> | 2019-04-23 16:06:04 (GMT) |
commit | 544a36e75e5766cc1e40bc7408cd795e7ce38bde (patch) | |
tree | ce0a2da4ac98b0cb8721a954bb83fd41014e97bd /test | |
parent | 11dff70dc14a250734007849e694a45d12911628 (diff) | |
parent | 62198c2436ac3787afb49fa990d1ba8204264dba (diff) | |
download | hdf5-544a36e75e5766cc1e40bc7408cd795e7ce38bde.zip hdf5-544a36e75e5766cc1e40bc7408cd795e7ce38bde.tar.gz hdf5-544a36e75e5766cc1e40bc7408cd795e7ce38bde.tar.bz2 |
Merge pull request #1666 in HDFFV/hdf5 from ~KOZIOL/hdf5:unwrap_vol_callback to develop
* commit '62198c2436ac3787afb49fa990d1ba8204264dba':
Add an 'unwrap' VOL callback, so that connectors can unwrap an underlying object without closing it. (Especially needed for pass-through connectors)
Diffstat (limited to 'test')
-rw-r--r-- | test/null_vol_connector.c | 25 | ||||
-rw-r--r-- | test/vol.c | 1 |
2 files changed, 16 insertions, 10 deletions
diff --git a/test/null_vol_connector.c b/test/null_vol_connector.c index b62b370..b78e859 100644 --- a/test/null_vol_connector.c +++ b/test/null_vol_connector.c @@ -27,16 +27,21 @@ static const H5VL_class_t null_vol_g = { 0, /* capability flags */ NULL, /* initialize */ NULL, /* terminate */ - (size_t)0, /* info size */ - NULL, /* info copy */ - NULL, /* info compare */ - NULL, /* info free */ - NULL, /* info to str */ - NULL, /* str to info */ - NULL, /* get_object */ - NULL, /* get_wrap_ctx */ - NULL, /* wrap_object */ - NULL, /* free_wrap_ctx */ + { /* info_cls */ + (size_t)0, /* size */ + NULL, /* copy */ + NULL, /* compare */ + NULL, /* free */ + NULL, /* to_str */ + NULL, /* from_str */ + }, + { /* wrap_cls */ + NULL, /* get_object */ + NULL, /* get_wrap_ctx */ + NULL, /* wrap_object */ + NULL, /* unwrap_object */ + NULL, /* free_wrap_ctx */ + }, { /* attribute_cls */ NULL, /* create */ NULL, /* open */ @@ -61,6 +61,7 @@ static const H5VL_class_t fake_vol_g = { NULL, /* get_object */ NULL, /* get_wrap_ctx */ NULL, /* wrap_object */ + NULL, /* unwrap_object */ NULL, /* free_wrap_ctx */ }, { /* attribute_cls */ |