summaryrefslogtreecommitdiffstats
path: root/pcilib/event.h
diff options
context:
space:
mode:
Diffstat (limited to 'pcilib/event.h')
-rw-r--r--pcilib/event.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/pcilib/event.h b/pcilib/event.h
index ca7c27f..d2b9793 100644
--- a/pcilib/event.h
+++ b/pcilib/event.h
@@ -89,8 +89,15 @@ typedef struct {
int (*return_data)(pcilib_context_t *ctx, pcilib_event_id_t event_id, pcilib_event_data_type_t data_type, void *data);
} pcilib_event_api_description_t;
+#ifdef __cplusplus
+extern "C" {
+#endif
int pcilib_init_event_engine(pcilib_t *ctx);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _PCILIB_EVENT_H */