summaryrefslogtreecommitdiff
path: root/src/htswrap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/htswrap.h')
-rw-r--r--src/htswrap.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/htswrap.h b/src/htswrap.h
index e87ddf6..eb010d3 100644
--- a/src/htswrap.h
+++ b/src/htswrap.h
@@ -46,9 +46,17 @@ Please visit our Website: http://www.httrack.com
typedef struct httrackp httrackp;
#endif
+#ifdef __cplusplus
+extern "C" {
+#endif
+
HTSEXT_API int htswrap_init(void); // LEGACY
HTSEXT_API int htswrap_free(void); // LEGACY
+#ifdef __cplusplus
+}
+#endif
+
//HTSEXT_API int htswrap_add(httrackp * opt, const char *name, void *fct);
//HTSEXT_API uintptr_t htswrap_read(httrackp * opt, const char *name);