summaryrefslogtreecommitdiffstats
path: root/src/H5VLpublic.h
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2012-04-17 21:54:02 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2012-04-17 21:54:02 (GMT)
commit33f70a817aba7a4dd020fb29a187c53ba05e157c (patch)
tree4ff9ee2addb8a67212bc01170a102a2399d4c005 /src/H5VLpublic.h
parent2afee27ba9b7f22aef111b282106e5deafb61e7b (diff)
downloadhdf5-33f70a817aba7a4dd020fb29a187c53ba05e157c.zip
hdf5-33f70a817aba7a4dd020fb29a187c53ba05e157c.tar.gz
hdf5-33f70a817aba7a4dd020fb29a187c53ba05e157c.tar.bz2
[svn-r22292] remove unnecessary lookup for object locations into VOL
add a public API routine to set a user defined VOL driver some fixes to allow vol plugins to be created and used outside the library
Diffstat (limited to 'src/H5VLpublic.h')
-rw-r--r--src/H5VLpublic.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/H5VLpublic.h b/src/H5VLpublic.h
index e6df32f..645b410 100644
--- a/src/H5VLpublic.h
+++ b/src/H5VLpublic.h
@@ -20,6 +20,8 @@
#ifndef _H5VLpublic_H
#define _H5VLpublic_H
+#include "stdarg.h"
+
#include "H5public.h"
#include "H5Fpublic.h"
#include "H5Lpublic.h"
@@ -201,8 +203,16 @@ typedef struct H5VL_class_t {
H5VL_object_class_t object_cls;
} H5VL_class_t;
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Function prototypes */
H5_DLL hid_t H5VLregister(const H5VL_class_t *cls);
H5_DLL herr_t H5VLunregister(hid_t driver_id);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _H5VLpublic_H */