From 1920f1b489a54e8ab97a3e24b1bab64831e32b53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Fri, 26 Apr 2019 17:57:49 +0200 Subject: New upstream version 0.9.2 --- include/uriparser/UriIp4.h | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'include/uriparser/UriIp4.h') 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 -- cgit v1.2.3