diff options
author | Brendan Taylor <whateley@gmail.com> | 2010-09-27 10:41:13 -0600 |
---|---|---|
committer | Brendan Taylor <whateley@gmail.com> | 2010-09-30 09:50:04 -0600 |
commit | 5510abf69022d8393e6c5fc3d1456cc47f96fa4a (patch) | |
tree | 123d142c2c40b8cdb49946ff94fddc616b89f923 /src/uzbl-core.h | |
parent | 4c63d4620266ca5914587737e2af6e1b749b23f5 (diff) |
move cookie handling into a subclass of SoupCookieJar
this cleans up the code and slightly improves efficiency.
Diffstat (limited to 'src/uzbl-core.h')
-rw-r--r-- | src/uzbl-core.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/uzbl-core.h b/src/uzbl-core.h index 5760423..b4b251d 100644 --- a/src/uzbl-core.h +++ b/src/uzbl-core.h @@ -40,6 +40,8 @@ #include <sys/ioctl.h> #include <assert.h> +#include "cookie-jar.h" + #define LENGTH(x) (sizeof x / sizeof x[0]) /* gui elements */ @@ -104,8 +106,8 @@ typedef struct { /* networking */ typedef struct { - SoupSession *soup_session; - SoupCookieJar *soup_cookie_jar; + SoupSession *soup_session; + UzblCookieJar *soup_cookie_jar; SoupLogger *soup_logger; char *proxy_url; char *useragent; @@ -278,9 +280,6 @@ run_command(const gchar *command, const guint npre, const gchar **args, const gboolean sync, char **output_stdout); void -talk_to_socket(WebKitWebView *web_view, GArray *argv, GString *result); - -void spawn(WebKitWebView *web_view, GArray *argv, GString *result); void |