Updated the VOL struct. The json_vol test fails, though, because

the plugin can't be found. Will diagnose later.
This commit is contained in:
Dana Robinson
2019-03-30 18:29:07 -07:00
parent 70c21ab3be
commit 799a732650
2 changed files with 16 additions and 11 deletions

View File

@@ -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 */

View File

@@ -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"