summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJerome Soumagne <jsoumagne@hdfgroup.org>2019-09-10 16:31:11 (GMT)
committerJerome Soumagne <jsoumagne@hdfgroup.org>2019-10-08 20:18:50 (GMT)
commitf4bc0af55cfe3fdbf2e9963849e84cf166f6d41d (patch)
treeca4dd5048cc84cfd362ec1f088bf715fd7e156a9
parentb571cf6c3851357d86cd5a231351d75177af29a4 (diff)
downloadhdf5-f4bc0af55cfe3fdbf2e9963849e84cf166f6d41d.zip
hdf5-f4bc0af55cfe3fdbf2e9963849e84cf166f6d41d.tar.gz
hdf5-f4bc0af55cfe3fdbf2e9963849e84cf166f6d41d.tar.bz2
Add H5VL_MAX_TOKEN_SIZE and H5VL_token_t
-rw-r--r--src/H5VLconnector.h7
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 */