summaryrefslogtreecommitdiff
path: root/include/uriparser/UriIp4.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhsoting.net>2019-04-26 17:57:51 +0200
committerJörg Frings-Fürst <debian@jff-webhsoting.net>2019-04-26 17:57:51 +0200
commit5444b1728ba7cfc55e85fd3022b6e88c9441327c (patch)
tree3009ac597dd206aa4bfaa50725ed6e7542119877 /include/uriparser/UriIp4.h
parent4c6be44409a51e938aa1c9e4d920348d5317a3d2 (diff)
parent1920f1b489a54e8ab97a3e24b1bab64831e32b53 (diff)
Update upstream source from tag 'upstream/0.9.2'
Update to upstream version '0.9.2' with Debian dir c23d6b5efa0b01b1b44e112907143c23417ebdd5
Diffstat (limited to 'include/uriparser/UriIp4.h')
-rw-r--r--include/uriparser/UriIp4.h20
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