summaryrefslogtreecommitdiffstats
path: root/src/H5VLpublic.h
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2012-07-27 13:38:54 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2012-07-27 13:38:54 (GMT)
commitbbaf4fb19b452e093bde1616df351dfa34f30840 (patch)
tree3af9b6f9998cb1fd62fbf84afd35421acb32a322 /src/H5VLpublic.h
parentd36da471a9921489100e8e717bdaa58df3b5be03 (diff)
downloadhdf5-bbaf4fb19b452e093bde1616df351dfa34f30840.zip
hdf5-bbaf4fb19b452e093bde1616df351dfa34f30840.tar.gz
hdf5-bbaf4fb19b452e093bde1616df351dfa34f30840.tar.bz2
[svn-r22612] add enum value for the VL class
Diffstat (limited to 'src/H5VLpublic.h')
-rw-r--r--src/H5VLpublic.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/H5VLpublic.h b/src/H5VLpublic.h
index 75a014b..670a5b7 100644
--- a/src/H5VLpublic.h
+++ b/src/H5VLpublic.h
@@ -283,8 +283,15 @@ typedef struct H5VL_object_class_t {
herr_t (*close) (void *obj, H5VL_loc_params_t loc_params, hid_t req);
} H5VL_object_class_t;
+/* enum value to identify the class of a VOL plugin (mostly for comparison purposes */
+typedef enum H5VL_class_value_t {
+ NATIVE = 0,
+ DUMMY = 1
+} H5VL_class_value_t;
+
/* Class information for each VOL driver */
typedef struct H5VL_class_t {
+ H5VL_class_value_t value;
const char *name;
herr_t (*initialize)(void);
herr_t (*terminate)(void);