aboutsummaryrefslogtreecommitdiff
path: root/src/cache.h
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2025-04-26 23:27:07 +0200
committerRodrigo Arias Mallo <rodarima@gmail.com>2025-04-27 00:03:00 +0200
commitdd1ce83521403d81ebfe46f7815a10220e4f3a96 (patch)
tree51499260024d34c616f956a99a9c1aadf8a821d3 /src/cache.h
parentdb361d8fdf487066eb9b1f480ff386c619eaac09 (diff)
Add about:keys to show keyboard shortcuts
Fixes: https://github.com/dillo-browser/dillo/issues/66
Diffstat (limited to 'src/cache.h')
-rw-r--r--src/cache.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/cache.h b/src/cache.h
index 72ed2196..1b850a2d 100644
--- a/src/cache.h
+++ b/src/cache.h
@@ -1,3 +1,15 @@
+/*
+ * File: cache.c
+ *
+ * Copyright 2000-2009 Jorge Arellano Cid <jcid@dillo.org>
+ * Copyright 2025 Rodrigo Arias Mallo <rodarima@gmail.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ */
+
#ifndef __CACHE_H__
#define __CACHE_H__
@@ -60,6 +72,7 @@ struct CacheClient {
* Function prototypes
*/
void a_Cache_init(void);
+void a_Cache_entry_inject(const DilloUrl *Url, Dstr *data_ds);
int a_Cache_open_url(void *Web, CA_Callback_t Call, void *CbData);
int a_Cache_get_buf(const DilloUrl *Url, char **PBuf, int *BufSize);
void a_Cache_unref_buf(const DilloUrl *Url);