From 4f249f9d0ab7701876cc5bd6be2338de8dae8e35 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 19 Jun 2006 21:49:25 +0000 Subject: Merge cookies changes into head - unvalidated transactions and a UI still need implementing. svn path=/trunk/netsurf/; revision=2632 --- content/urldb.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'content/urldb.h') diff --git a/content/urldb.h b/content/urldb.h index e919549bf..02d217593 100644 --- a/content/urldb.h +++ b/content/urldb.h @@ -25,6 +25,9 @@ struct url_data { struct bitmap; +/* Initialisation */ +void urldb_init(void); + /* Persistence support */ void urldb_load(const char *filename); void urldb_save(const char *filename); @@ -66,4 +69,10 @@ void urldb_iterate_entries(bool (*callback)(const char *url, /* Debug */ void urldb_dump(void); +/* Cookies */ +bool urldb_set_cookie(const char *header, const char *url); +char *urldb_get_cookie(const char *url, const char *referer); +void urldb_load_cookies(const char *filename); +void urldb_save_cookies(const char *filename); + #endif -- cgit v1.2.3