summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/htsdefines.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/htsdefines.h b/src/htsdefines.h
index 2a63553..fe5105f 100644
--- a/src/htsdefines.h
+++ b/src/htsdefines.h
@@ -231,8 +231,16 @@ struct t_hts_callback_ref {
size_t offset;
};
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern const t_hts_htmlcheck_callbacks default_callbacks;
+#ifdef __cplusplus
+}
+#endif
+
#define HT_PRINT(A) strcatbuff(opt->state.HTbuff,A);
#define HT_REQUEST_START opt->state.HTbuff[0]='\0';
#define HT_REQUEST_END