midori/katze/katze-http-cookies-sqlite.h
Alexander Butenko f5447b921f Implement sqlite3 cookie storage backend
From now on cookies are stored in an sqlite3 database, existing
cookies are imported on first startup.
2011-10-10 23:22:27 +02:00

42 lines
1.6 KiB
C

/*
Copyright (C) 2009 Christian Dywan <christian@twotoasts.de>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
See the file COPYING for the full license text.
*/
#ifndef __KATZE_HTTP_COOKIES_SQLITE_H__
#define __KATZE_HTTP_COOKIES_SQLITE_H__
#include "katze-utils.h"
#include <glib-object.h>
G_BEGIN_DECLS
#define KATZE_TYPE_HTTP_COOKIES_SQLITE \
(katze_http_cookies_sqlite_get_type ())
#define KATZE_HTTP_COOKIES_SQLITE(obj) \
(G_TYPE_CHECK_INSTANCE_CAST ((obj), KATZE_TYPE_HTTP_COOKIES_SQLITE, KatzeHttpCookiesSqlite))
#define KATZE_HTTP_COOKIES_SQLITE_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST ((klass), KATZE_TYPE_HTTP_COOKIES_SQLITE, KatzeHttpCookiesSqliteClass))
#define KATZE_IS_HTTP_COOKIES_SQLITE(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), KATZE_TYPE_HTTP_COOKIES_SQLITE))
#define KATZE_IS_HTTP_COOKIES_SQLITE_CLASS(klass) \
(G_TYPE_CHECK_CLASS_TYPE ((klass), KATZE_TYPE_HTTP_COOKIES_SQLITE))
#define KATZE_HTTP_COOKIES_SQLITE_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS ((obj), KATZE_TYPE_HTTP_COOKIES_SQLITE, KatzeHttpCookiesSqliteClass))
typedef struct _KatzeHttpCookiesSqlite KatzeHttpCookiesSqlite;
typedef struct _KatzeHttpCookiesSqliteClass KatzeHttpCookiesSqliteClass;
GType
katze_http_cookies_sqlite_get_type (void) G_GNUC_CONST;
G_END_DECLS
#endif /* __KATZE_HTTP_COOKIES_SQLITE_H__ */