summaryrefslogtreecommitdiff
path: root/utils/corestrings.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/corestrings.h
parentb051c037d35ff87e215d4bafa056732a5072aa55 (diff)
downloadnetsurf-30909f8ed53848e450b7e362ef05b1eb06e09ddb.tar.gz
netsurf-30909f8ed53848e450b7e362ef05b1eb06e09ddb.tar.bz2
Move FILE_SCHEME_PREFIX to corestrings.
Diffstat (limited to 'utils/corestrings.h')
-rw-r--r--utils/corestrings.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/utils/corestrings.h b/utils/corestrings.h
index 9fcc224ee..b55852900 100644
--- a/utils/corestrings.h
+++ b/utils/corestrings.h
@@ -27,6 +27,12 @@
#include "utils/nsurl.h"
#include "utils/errors.h"
+/** File url prefix. */
+#define FILE_SCHEME_PREFIX "file:///"
+
+/** File url prefix length. */
+#define FILE_SCHEME_PREFIX_LEN 8
+
nserror corestrings_init(void);
void corestrings_fini(void);