diff options
Diffstat (limited to 'atari')
-rwxr-xr-x | atari/findfile.h | 5 | ||||
-rw-r--r-- | atari/gui.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/atari/findfile.h b/atari/findfile.h index e87f7cff7..cced0092c 100755 --- a/atari/findfile.h +++ b/atari/findfile.h @@ -21,6 +21,9 @@ #define NS_ATARI_FINDFILE_H extern char *atari_find_resource(char *buf, const char *filename, const char *def); -char * local_file_to_url( const char * filename ); +char *local_file_to_url(const char *filename); + +char *path_to_url(const char *path_in); +char *url_to_path(const char *url); #endif /* NETSURF_ATARI_FINDFILE_H */ diff --git a/atari/gui.c b/atari/gui.c index 0267148d2..f1f557e2e 100644 --- a/atari/gui.c +++ b/atari/gui.c @@ -1077,6 +1077,8 @@ static struct gui_fetch_table atari_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, .get_resource_url = gui_get_resource_url, .mimetype = fetch_mimetype, |