diff options
author | Jerome Soumagne <jsoumagne@hdfgroup.org> | 2019-09-10 16:31:11 (GMT) |
---|---|---|
committer | Jerome Soumagne <jsoumagne@hdfgroup.org> | 2019-10-08 19:30:24 (GMT) |
commit | 0922e60de223421adc83de3fdcb83ba3473ba29a (patch) | |
tree | 68fe090c4b4ec0ee030febb49ca05956b69257c5 /src | |
parent | bf65652e9b73d66ce2a6c7a44e75e11a602eaa9e (diff) | |
download | hdf5-0922e60de223421adc83de3fdcb83ba3473ba29a.zip hdf5-0922e60de223421adc83de3fdcb83ba3473ba29a.tar.gz hdf5-0922e60de223421adc83de3fdcb83ba3473ba29a.tar.bz2 |
Add H5VL_MAX_TOKEN_SIZE and H5VL_token_t
Diffstat (limited to 'src')
-rw-r--r-- | src/H5VLconnector.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/H5VLconnector.h b/src/H5VLconnector.h index 5ab1402..910136d 100644 --- a/src/H5VLconnector.h +++ b/src/H5VLconnector.h @@ -43,10 +43,17 @@ /* The maximum size allowed for blobs */ #define H5VL_MAX_BLOB_ID_SIZE (16) /* Allow for 128-bits blob IDs */ +/* The maximum size allowed for tokens */ +#define H5VL_MAX_TOKEN_SIZE (16) /* Allow for 128-bits tokens */ + /*******************/ /* Public Typedefs */ /*******************/ +/* type for tokens. Token are unique and permanent identifiers that are + * used to reference HDF5 objects. */ +typedef unsigned char H5VL_token_t[H5VL_MAX_TOKEN_SIZE]; + /* types for attribute GET callback */ typedef enum H5VL_attr_get_t { H5VL_ATTR_GET_ACPL, /* creation property list */ |