#ifndef UZBL_COOKIE_JAR_H #define UZBL_COOKIE_JAR_H #include #define UZBL_TYPE_COOKIE_JAR (soup_cookie_jar_socket_get_type ()) #define UZBL_COOKIE_JAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), UZBL_TYPE_COOKIE_JAR, UzblCookieJar)) #define UZBL_COOKIE_JAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), UZBL_TYPE_COOKIE_JAR, UzblCookieJarClass)) typedef struct { SoupCookieJar parent; const gchar *handler; const gchar *socket_path; int connection_fd; gboolean in_get_callback; gboolean in_manual_add; } UzblCookieJar; typedef struct { SoupCookieJarClass parent_class; } UzblCookieJarClass; UzblCookieJar *uzbl_cookie_jar_new(); void uzbl_cookie_jar_set_handler(UzblCookieJar *jar, const gchar *handler); char *get_cookies(UzblCookieJar *jar, SoupURI *uri); #endif