diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2022-08-22 10:03:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-22 10:03:38 (GMT) |
commit | 1ac9a67cc9834af4915aeea3d00357b7914a44cd (patch) | |
tree | 281f19adddb6b7609de8fa81aad8bcdd0b4372f7 /src/H5VLconnector.h | |
parent | b70c60e1597d208bc2de294ebb0dfce2e7bd6aae (diff) | |
download | hdf5-feature/vol_cap_flags.zip hdf5-feature/vol_cap_flags.tar.gz hdf5-feature/vol_cap_flags.tar.bz2 |
Convert unsigned cap flag field to uint64_t and add flags (#2050)feature/vol_cap_flags
* Convert unsigned cap flag field to uint64_t and add flags
* Committing clang-format changes
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'src/H5VLconnector.h')
-rw-r--r-- | src/H5VLconnector.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/H5VLconnector.h b/src/H5VLconnector.h index e017a92..bb434be 100644 --- a/src/H5VLconnector.h +++ b/src/H5VLconnector.h @@ -33,12 +33,6 @@ /* Public Macros */ /*****************/ -/* Capability flags for connector */ -#define H5VL_CAP_FLAG_NONE 0 /* No special connector capabilities */ -#define H5VL_CAP_FLAG_THREADSAFE 0x01 /* Connector is threadsafe */ -#define H5VL_CAP_FLAG_ASYNC 0x02 /* Connector performs operations asynchronously*/ -#define H5VL_CAP_FLAG_NATIVE_FILES 0x04 /* Connector produces native file format */ - /* Container info version */ #define H5VL_CONTAINER_INFO_VERSION 0x01 /* Container info struct version */ @@ -980,7 +974,7 @@ struct H5VL_class_t; /* Container/connector introspection routines */ typedef struct H5VL_introspect_class_t { herr_t (*get_conn_cls)(void *obj, H5VL_get_conn_lvl_t lvl, const struct H5VL_class_t **conn_cls); - herr_t (*get_cap_flags)(const void *info, unsigned *cap_flags); + herr_t (*get_cap_flags)(const void *info, uint64_t *cap_flags); herr_t (*opt_query)(void *obj, H5VL_subclass_t cls, int opt_type, uint64_t *flags); } H5VL_introspect_class_t; @@ -1020,7 +1014,7 @@ typedef struct H5VL_class_t { H5VL_class_value_t value; /**< Value to identify connector */ const char *name; /**< Connector name (MUST be unique!) */ unsigned conn_version; /**< Version # of connector */ - unsigned cap_flags; /**< Capability flags for connector */ + uint64_t cap_flags; /**< Capability flags for connector */ herr_t (*initialize)(hid_t vipl_id); /**< Connector initialization callback */ herr_t (*terminate)(void); /**< Connector termination callback */ |