diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2019-03-31 01:29:07 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2019-03-31 01:29:07 (GMT) |
commit | 799a732650735b8ad05a0398781d2a26ec47b288 (patch) | |
tree | 588378063a4eae446ffe0c7e684f4e3aff6af358 /test | |
parent | 70c21ab3be23a698afc42ab856130ecca5e63b06 (diff) | |
download | hdf5-799a732650735b8ad05a0398781d2a26ec47b288.zip hdf5-799a732650735b8ad05a0398781d2a26ec47b288.tar.gz hdf5-799a732650735b8ad05a0398781d2a26ec47b288.tar.bz2 |
Updated the VOL struct. The json_vol test fails, though, because
the plugin can't be found. Will diagnose later.
Diffstat (limited to 'test')
-rw-r--r-- | test/json_vol_connector.c | 26 | ||||
-rw-r--r-- | test/json_vol_connector.h | 1 |
2 files changed, 16 insertions, 11 deletions
diff --git a/test/json_vol_connector.c b/test/json_vol_connector.c index a378d72..1cdad9c 100644 --- a/test/json_vol_connector.c +++ b/test/json_vol_connector.c @@ -45,22 +45,26 @@ static herr_t jvc_file_close(void *file, hid_t dxpl_id, void **req); /* The VOL class struct */ static const H5VL_class_t json_vol_g = { - 0, /* version */ + JSON_VOL_CONNECTOR_VERSION, /* version */ JSON_VOL_CONNECTOR_VALUE, /* value */ JSON_VOL_CONNECTOR_NAME, /* name */ 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, /* info size */ + NULL, /* info copy */ + NULL, /* info compare */ + NULL, /* info free */ + NULL, /* info to str */ + NULL /* str to info */ + }, + { /* wrap_cls */ + NULL, /* get_object */ + NULL, /* get_wrap_ctx */ + NULL, /* wrap_object */ + NULL /* free_wrap_ctx */ + }, { /* attribute_cls */ NULL, /* create */ NULL, /* open */ diff --git a/test/json_vol_connector.h b/test/json_vol_connector.h index 07179fc..d3fb896 100644 --- a/test/json_vol_connector.h +++ b/test/json_vol_connector.h @@ -17,6 +17,7 @@ #ifndef _json_vol_connector_H #define _json_vol_connector_H +#define JSON_VOL_CONNECTOR_VERSION 1 #define JSON_VOL_CONNECTOR_VALUE ((H5VL_class_value_t)104) #define JSON_VOL_CONNECTOR_NAME "json_vol_connector" |