summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2018-11-29 14:26:25 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2018-11-29 14:26:25 (GMT)
commitbeb7428f68efbdb27c5ae06705c7eff04d8d4cc7 (patch)
treed0953e440eb3ccc8ad2ff8edf56aa5a119d58a8f /src
parent8c606f586e741e7705a93d4aac7a600f96978b38 (diff)
downloadhdf5-beb7428f68efbdb27c5ae06705c7eff04d8d4cc7.zip
hdf5-beb7428f68efbdb27c5ae06705c7eff04d8d4cc7.tar.gz
hdf5-beb7428f68efbdb27c5ae06705c7eff04d8d4cc7.tar.bz2
Switch H5VL_class_value_t from unsigned to int, and add "invalid" ID value.
Diffstat (limited to 'src')
-rw-r--r--src/H5VLpublic.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5VLpublic.h b/src/H5VLpublic.h
index ae423bb..b276128 100644
--- a/src/H5VLpublic.h
+++ b/src/H5VLpublic.h
@@ -356,9 +356,10 @@ typedef struct H5VL_request_class_t {
* filters. Subsequent values should be obtained from the HDF5 development
* team at help@hdfgroup.org.
*/
-typedef unsigned H5VL_class_value_t;
+typedef int H5VL_class_value_t;
/* VOL connector identifier values */
+#define H5_VOL_INVALID (-1) /* Invalid ID for VOL connector iD */
#define H5_VOL_NATIVE 0 /* Native HDF5 file formnat VOL connector */
#define H5_VOL_RESERVED 256 /* VOL connector IDs below this value are reserved for library use */
#define H5_VOL_MAX 65535 /* Maximum VOL connector ID */