diff options
Diffstat (limited to 'utils/corestrings.h')
-rw-r--r-- | utils/corestrings.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/utils/corestrings.h b/utils/corestrings.h index 9fcc224ee..d51e11cbb 100644 --- a/utils/corestrings.h +++ b/utils/corestrings.h @@ -24,9 +24,14 @@ #define NETSURF_UTILS_CORESTRINGS_H_ #include <libwapcaplet/libwapcaplet.h> -#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); @@ -283,6 +288,6 @@ extern struct dom_string *corestring_dom___ns_key_file_name_node_data; extern struct dom_string *corestring_dom___ns_key_image_coords_node_data; /* URLs */ -extern nsurl *corestring_nsurl_about_blank; +extern struct nsurl *corestring_nsurl_about_blank; #endif |