1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
3 * Copyright (C) 2008 Diego Escalante Urrelo
6 #ifndef __SOUP_COOKIE_JAR_SQLITE_H__
7 #define __SOUP_COOKIE_JAR_SQLITE_H__ 1
9 #include <libsoup/soup-cookie-jar-db.h>
13 #define SOUP_TYPE_COOKIE_JAR_SQLITE (soup_cookie_jar_sqlite_get_type ())
14 #define SOUP_COOKIE_JAR_SQLITE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SOUP_TYPE_COOKIE_JAR_SQLITE, SoupCookieJarSqlite))
15 #define SOUP_COOKIE_JAR_SQLITE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SOUP_TYPE_COOKIE_JAR_SQLITE, SoupCookieJarSqliteClass))
16 #define SOUP_IS_COOKIE_JAR_SQLITE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SOUP_TYPE_COOKIE_JAR_SQLITE))
17 #define SOUP_IS_COOKIE_JAR_SQLITE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), SOUP_TYPE_COOKIE_JAR_SQLITE))
18 #define SOUP_COOKIE_JAR_SQLITE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SOUP_TYPE_COOKIE_JAR_SQLITE, SoupCookieJarSqliteClass))
21 SoupCookieJarDB parent;
23 } SoupCookieJarSqlite;
26 SoupCookieJarDBClass parent_class;
28 } SoupCookieJarSqliteClass;
30 #define SOUP_COOKIE_JAR_SQLITE_FILENAME "filename"
32 SOUP_AVAILABLE_IN_2_26
33 SOUP_DEPRECATED_IN_2_42_FOR(soup_cookie_jar_db_get_type)
34 GType soup_cookie_jar_sqlite_get_type (void);
36 SOUP_AVAILABLE_IN_2_26
37 SOUP_DEPRECATED_IN_2_42_FOR(soup_cookie_jar_db_new)
38 SoupCookieJar *soup_cookie_jar_sqlite_new (const char *filename,
43 #endif /* __SOUP_COOKIE_JAR_SQLITE_H__ */