diff options
Diffstat (limited to 'include/uriparser/UriIp4.h')
-rw-r--r-- | include/uriparser/UriIp4.h | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/include/uriparser/UriIp4.h b/include/uriparser/UriIp4.h index 9251c49..e1d7f1e 100644 --- a/include/uriparser/UriIp4.h +++ b/include/uriparser/UriIp4.h @@ -75,6 +75,18 @@ +#ifdef __cplusplus +extern "C" { +#endif + + + +#ifndef URI_DOXYGEN +# include "UriBase.h" +#endif + + + /** * Converts a IPv4 text representation into four bytes. * @@ -83,10 +95,16 @@ * @param afterLast Position to stop parsing at * @return Error code or 0 on success */ -int URI_FUNC(ParseIpFourAddress)(unsigned char * octetOutput, +URI_PUBLIC int URI_FUNC(ParseIpFourAddress)(unsigned char * octetOutput, const URI_CHAR * first, const URI_CHAR * afterLast); +#ifdef __cplusplus +} +#endif + + + #endif #endif |