summaryrefslogtreecommitdiff
path: root/libsoup/soup-cookie-jar-sqlite.h
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2012-12-11 18:43:42 +0100
committerDan Winship <danw@gnome.org>2012-12-11 18:57:23 +0100
commitade7a484f33f223defad9acb50396058767781e1 (patch)
tree1531f7988fc351f143c1ace48f46e7e205622c17 /libsoup/soup-cookie-jar-sqlite.h
parentdb084cb64d226afc8489386c7e3f45e6f584e43c (diff)
downloadlibsoup-ade7a484f33f223defad9acb50396058767781e1.tar.gz
Add SoupCookieJarDB to replace SoupCookieJarSqlite
Move SoupCookieJarSqlite (and its sqlite3 dependency) into libsoup from libsoup-gnome, but rename it to SoupCookieJarDB so libsoup-gnome can keep using the old name. SoupCookieJarSqlite is now just a wrapper around SoupCookieJarDB.
Diffstat (limited to 'libsoup/soup-cookie-jar-sqlite.h')
-rw-r--r--libsoup/soup-cookie-jar-sqlite.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/libsoup/soup-cookie-jar-sqlite.h b/libsoup/soup-cookie-jar-sqlite.h
index 97cdf331..adc27868 100644
--- a/libsoup/soup-cookie-jar-sqlite.h
+++ b/libsoup/soup-cookie-jar-sqlite.h
@@ -6,7 +6,7 @@
#ifndef SOUP_COOKIE_JAR_SQLITE_H
#define SOUP_COOKIE_JAR_SQLITE_H 1
-#include <libsoup/soup-cookie-jar.h>
+#include <libsoup/soup-cookie-jar-db.h>
G_BEGIN_DECLS
@@ -18,26 +18,23 @@ G_BEGIN_DECLS
#define SOUP_COOKIE_JAR_SQLITE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SOUP_TYPE_COOKIE_JAR_SQLITE, SoupCookieJarSqliteClass))
typedef struct {
- SoupCookieJar parent;
+ SoupCookieJarDB parent;
} SoupCookieJarSqlite;
typedef struct {
- SoupCookieJarClass parent_class;
+ SoupCookieJarDBClass parent_class;
- /* Padding for future expansion */
- void (*_libsoup_reserved1) (void);
- void (*_libsoup_reserved2) (void);
- void (*_libsoup_reserved3) (void);
- void (*_libsoup_reserved4) (void);
} SoupCookieJarSqliteClass;
#define SOUP_COOKIE_JAR_SQLITE_FILENAME "filename"
SOUP_AVAILABLE_IN_2_26
+SOUP_DEPRECATED_IN_2_42_FOR(soup_cookie_jar_db_get_type)
GType soup_cookie_jar_sqlite_get_type (void);
SOUP_AVAILABLE_IN_2_26
+SOUP_DEPRECATED_IN_2_42_FOR(soup_cookie_jar_db_new)
SoupCookieJar *soup_cookie_jar_sqlite_new (const char *filename,
gboolean read_only);