summaryrefslogtreecommitdiff
path: root/utils/url.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2014-10-31 14:31:06 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2014-10-31 14:31:06 +0000
commit98b6d02df61ce2917b001c4647d8c6b623b610e7 (patch)
treeabbd2661d70bca9cab6c31004220362a43042154 /utils/url.h
parent02ff3920ce22f4a4120cab8cee3a72a244604732 (diff)
downloadnetsurf-98b6d02df61ce2917b001c4647d8c6b623b610e7.tar.gz
netsurf-98b6d02df61ce2917b001c4647d8c6b623b610e7.tar.bz2
Move host_is_ip_address into urldb, as that's the only thing that cares.
Diffstat (limited to 'utils/url.h')
-rw-r--r--utils/url.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/utils/url.h b/utils/url.h
index 627bb5cb8..d6c5b917c 100644
--- a/utils/url.h
+++ b/utils/url.h
@@ -35,19 +35,6 @@
/**
- * Check whether a host string is an IP address.
- *
- * This call detects IPv4 addresses (all of dotted-quad or subsets,
- * decimal or hexadecimal notations) and IPv6 addresses (including
- * those containing embedded IPv4 addresses.)
- *
- * \param host a hostname terminated by '\0'
- * \return true if the hostname is an IP address, false otherwise
- */
-bool url_host_is_ip_address(const char *host);
-
-
-/**
* Escape a string suitable for inclusion in an URL.
*
* \param unescaped the unescaped string