diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2014-01-15 12:28:55 +0000 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2014-01-15 12:28:55 +0000 |
commit | 68eaec5cb4208ee80e7c0610361405fd01fc1b69 (patch) | |
tree | aea90291a5f6fe6e8848644d9fe712201d01eaf0 /monkey/main.c | |
parent | 0075eab1949e4de071b3649c68ba402b8ffce6fb (diff) | |
download | netsurf-68eaec5cb4208ee80e7c0610361405fd01fc1b69.tar.gz netsurf-68eaec5cb4208ee80e7c0610361405fd01fc1b69.tar.bz2 |
complete move of remaining core gui functions
Diffstat (limited to 'monkey/main.c')
-rw-r--r-- | monkey/main.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/monkey/main.c b/monkey/main.c index ce7906e03..419543e29 100644 --- a/monkey/main.c +++ b/monkey/main.c @@ -25,6 +25,7 @@ #include "monkey/poll.h" #include "monkey/dispatch.h" #include "monkey/browser.h" +#include "monkey/cert.h" #include "content/urldb.h" #include "content/fetchers/resource.h" @@ -64,7 +65,7 @@ static void monkey_quit(void) gtk_fetch_filetype_fin(); } -nsurl *gui_get_resource_url(const char *path) +static nsurl *gui_get_resource_url(const char *path) { char buf[PATH_MAX]; char *raw; @@ -79,7 +80,7 @@ nsurl *gui_get_resource_url(const char *path) return url; } -void +static void gui_launch_url(const char *url) { fprintf(stdout, "GENERIC LAUNCH URL %s\n", url); @@ -116,6 +117,9 @@ static bool nslog_stream_configure(FILE *fptr) static struct gui_table monkey_gui_table = { .poll = monkey_poll, .quit = monkey_quit, + .get_resource_url = gui_get_resource_url, + .launch_url = gui_launch_url, + .cert_verify = gui_cert_verify, }; int |