summaryrefslogtreecommitdiff
path: root/content/urldb.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/urldb.h')
-rw-r--r--content/urldb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/content/urldb.h b/content/urldb.h
index 20d97ebca..aa8ec7742 100644
--- a/content/urldb.h
+++ b/content/urldb.h
@@ -14,6 +14,7 @@
#include <stdbool.h>
#include <time.h>
+#include "netsurf/content/content.h"
#include "netsurf/content/content_type.h"
typedef enum {
@@ -100,4 +101,8 @@ void urldb_delete_cookie(const char *domain, const char *path, const char *name)
void urldb_load_cookies(const char *filename);
void urldb_save_cookies(const char *filename);
+/* Cache */
+bool urldb_set_cache_data(const char *url, const struct content *content);
+char *urldb_get_cache_data(const char *url);
+
#endif