diff options
| author | Xavier Roche <xroche@users.noreply.github.com> | 2014-06-08 13:02:43 +0000 |
|---|---|---|
| committer | Xavier Roche <xroche@users.noreply.github.com> | 2014-06-08 13:02:43 +0000 |
| commit | 6d1544383e5c6cbf33dab7526e489a7bf58aacd3 (patch) | |
| tree | 1e09d693337a6bedde4a15d6afa1f2c83e65a345 /src/htsnet.h | |
| parent | cd268fd39ed5c64dd1c6b16e3284f10b79bf982b (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/htsnet.h')
| -rw-r--r-- | src/htsnet.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/htsnet.h b/src/htsnet.h index 2cc7499..a393129 100644 --- a/src/htsnet.h +++ b/src/htsnet.h @@ -74,6 +74,10 @@ typedef unsigned long in_addr_t; #endif #endif +#ifdef __cplusplus +extern "C" { +#endif + /* Ipv4 structures */ #if HTS_INET6 != 0 typedef struct in6_addr INaddr; @@ -253,4 +257,8 @@ static HTS_UNUSED void SOCaddr_inetntoa_(char *namebuf, size_t namebuflen, /* Socket length type */ typedef socklen_t SOClen; +#ifdef __cplusplus +} +#endif + #endif |
