summaryrefslogtreecommitdiffstats
path: root/src/H5VLpublic.h
diff options
context:
space:
mode:
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 */