diff options
Diffstat (limited to 'content/urldb.h')
-rw-r--r-- | content/urldb.h | 9 |
1 files changed, 9 insertions, 0 deletions
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 |