summaryrefslogtreecommitdiff
path: root/src/htsmodules.h
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2014-06-08 13:02:43 +0000
committerXavier Roche <xroche@users.noreply.github.com>2014-06-08 13:02:43 +0000
commit6d1544383e5c6cbf33dab7526e489a7bf58aacd3 (patch)
tree1e09d693337a6bedde4a15d6afa1f2c83e65a345 /src/htsmodules.h
parentcd268fd39ed5c64dd1c6b16e3284f10b79bf982b (diff)
Public definitions cleanup (especially for httraqt)
htsopt.h now has the following definitions: * struct htsrequest_proxy * struct htsrequest * struct htsblk * struct lien_url * struct lien_back
Diffstat (limited to 'src/htsmodules.h')
-rw-r--r--src/htsmodules.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/htsmodules.h b/src/htsmodules.h
index f38b4e2..18eef8e 100644
--- a/src/htsmodules.h
+++ b/src/htsmodules.h
@@ -115,6 +115,10 @@ struct htsmoduleStruct {
};
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Used to wrap module initialization */
/* return 1 if init was ok */
typedef int (*t_htsWrapperInit) (char *fn, char *args);
@@ -133,4 +137,8 @@ extern int hts_parse_externals(htsmoduleStruct * str);
extern int V6_is_available;
#endif
+#ifdef __cplusplus
+}
+#endif
+
#endif