From 0922e60de223421adc83de3fdcb83ba3473ba29a Mon Sep 17 00:00:00 2001 From: Jerome Soumagne Date: Tue, 10 Sep 2019 11:31:11 -0500 Subject: Add H5VL_MAX_TOKEN_SIZE and H5VL_token_t --- src/H5VLconnector.h | 7 +++++++ 1 file changed, 7 insertions(+) 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 */ -- cgit v0.12