Index: src/url_canon_ip.h |
diff --git a/src/url_canon_ip.h b/src/url_canon_ip.h |
index 0a01c9f8ec0faee3aefcaaa78127ecf7c6eff82b..a2900c6a8c640ca3ca14b2476251ae8cc08f217f 100644 |
--- a/src/url_canon_ip.h |
+++ b/src/url_canon_ip.h |
@@ -37,6 +37,14 @@ |
namespace url_canon { |
+// Writes the given IPv4 address to |output|. |
+GURL_API void AppendIPv4Address(const unsigned char address[4], |
+ CanonOutput* output); |
+ |
+// Writes the given IPv6 address to |output|. |
+GURL_API void AppendIPv6Address(const unsigned char address[16], |
+ CanonOutput* output); |
+ |
// Searches the host name for the portions of the IPv4 address. On success, |
// each component will be placed into |components| and it will return true. |
// It will return false if the host can not be separated as an IPv4 address |