summaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
Diffstat (limited to 'windows')
-rw-r--r--windows/findfile.h3
-rw-r--r--windows/gui.c2
2 files changed, 5 insertions, 0 deletions
diff --git a/windows/findfile.h b/windows/findfile.h
index 5f8c7290c..8a3e719ec 100644
--- a/windows/findfile.h
+++ b/windows/findfile.h
@@ -23,5 +23,8 @@ extern char *nsws_find_resource(char *buf, const char *filename, const char *def
char **nsws_init_resource(const char *resource_path);
+char *path_to_url(const char *path);
+char *url_to_path(const char *url);
+
#endif /* _NETSURF_WINDOWS_FINDFILE_H_ */
diff --git a/windows/gui.c b/windows/gui.c
index a6b2facaf..6ac4f6155 100644
--- a/windows/gui.c
+++ b/windows/gui.c
@@ -1882,6 +1882,8 @@ static struct gui_fetch_table fetch_table = {
.filename_from_path = filename_from_path,
.path_add_part = path_add_part,
.filetype = fetch_filetype,
+ .path_to_url = path_to_url,
+ .url_to_path = url_to_path,
.mimetype = fetch_mimetype,
};