aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/uzbl-core.h
diff options
context:
space:
mode:
authorGravatar Brendan Taylor <whateley@gmail.com>2010-09-27 10:41:13 -0600
committerGravatar Ben Boeckel <MathStuf@gmail.com>2010-10-11 23:03:56 -0400
commit61a96aaf812934ebeb49668739c1a7ac60b5d094 (patch)
tree29ed6a1c2e3082d5ead69da37c4ebf09e4225331 /src/uzbl-core.h
parent1d4b7c0763a89066faa717adea4d35e7a0ad8458 (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.h9
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