fixed typo enable_sqllite -> enable_sqlite
[platform/upstream/libsoup.git] / libsoup / soup-cookie-jar-sqlite.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3  * Copyright (C) 2008 Diego Escalante Urrelo
4  */
5
6 #ifndef SOUP_COOKIE_JAR_SQLITE_H
7 #define SOUP_COOKIE_JAR_SQLITE_H 1
8
9 #include <libsoup/soup-cookie-jar-db.h>
10
11 G_BEGIN_DECLS
12
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))
19
20 typedef struct {
21         SoupCookieJarDB parent;
22
23 } SoupCookieJarSqlite;
24
25 typedef struct {
26         SoupCookieJarDBClass parent_class;
27
28 } SoupCookieJarSqliteClass;
29
30 #define SOUP_COOKIE_JAR_SQLITE_FILENAME  "filename"
31
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);
35
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,
39                                            gboolean    read_only);
40
41 G_END_DECLS
42
43 #endif /* SOUP_COOKIE_JAR_SQLITE_H */