summaryrefslogtreecommitdiffstats
path: root/common/quic.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/quic.h')
-rw-r--r--common/quic.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/quic.h b/common/quic.h
index f4ef8543..d0317772 100644
--- a/common/quic.h
+++ b/common/quic.h
@@ -21,6 +21,10 @@
#include "quic_config.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef enum {
QUIC_IMAGE_TYPE_INVALID,
QUIC_IMAGE_TYPE_GRAY,
@@ -61,5 +65,9 @@ void quic_destroy(QuicContext *quic);
void quic_init();
+#ifdef __cplusplus
+}
+#endif
+
#endif