summaryrefslogtreecommitdiff
path: root/utils/url.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2015-02-26 15:58:40 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2015-02-26 16:14:23 +0000
commit30909f8ed53848e450b7e362ef05b1eb06e09ddb (patch)
treeb36250b9f4b1c2b3da8e2f96d3e6adb9232b2802 /utils/url.h
parentb051c037d35ff87e215d4bafa056732a5072aa55 (diff)
downloadnetsurf-30909f8ed53848e450b7e362ef05b1eb06e09ddb.tar.gz
netsurf-30909f8ed53848e450b7e362ef05b1eb06e09ddb.tar.bz2
Move FILE_SCHEME_PREFIX to corestrings.
Diffstat (limited to 'utils/url.h')
-rw-r--r--utils/url.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/utils/url.h b/utils/url.h
index 143a0a0fe..aafdf1e15 100644
--- a/utils/url.h
+++ b/utils/url.h
@@ -27,12 +27,6 @@
#include "utils/errors.h"
-/** File url prefix. */
-#define FILE_SCHEME_PREFIX "file:///"
-
-/** File url prefix length. */
-#define FILE_SCHEME_PREFIX_LEN 8
-
/**
* Escape a string suitable for inclusion in an URL.
@@ -44,7 +38,8 @@
* \param result pointer to pointer to buffer to hold escaped string
* \return NSERROR_OK on success
*/
-nserror url_escape(const char *unescaped, size_t toskip, bool sptoplus, const char *escexceptions, char **result);
+nserror url_escape(const char *unescaped, size_t toskip, bool sptoplus,
+ const char *escexceptions, char **result);
/**