summaryrefslogtreecommitdiff
path: root/desktop/options.c
diff options
context:
space:
mode:
authorRichard Wilson <rjw@netsurf-browser.org>2005-12-29 23:18:17 +0000
committerRichard Wilson <rjw@netsurf-browser.org>2005-12-29 23:18:17 +0000
commit47a9cfe29e3bacec7dd254d402e676b4c1ab6899 (patch)
tree4aaa6572391aa5f340c0d890a972801a5c21fe41 /desktop/options.c
parent13ddb83357bf622c02f6e5ad321079c326afb5fc (diff)
downloadnetsurf-47a9cfe29e3bacec7dd254d402e676b4c1ab6899.tar.gz
netsurf-47a9cfe29e3bacec7dd254d402e676b4c1ab6899.tar.bz2
[project @ 2005-12-29 23:18:17 by rjw]
Add URL expiry option. svn path=/import/netsurf/; revision=1903
Diffstat (limited to 'desktop/options.c')
-rw-r--r--desktop/options.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/desktop/options.c b/desktop/options.c
index 2e87fa241..f66702822 100644
--- a/desktop/options.c
+++ b/desktop/options.c
@@ -65,7 +65,8 @@ int option_minimum_gif_delay = 10;
bool option_send_referer = true;
/** Whether to animate images */
bool option_animate_images = true;
-
+/** How many days to retain URL data for */
+int option_expire_url = 28;
EXTRA_OPTION_DEFINE
@@ -89,7 +90,8 @@ struct {
{ "block_advertisements", OPTION_BOOL, &option_block_ads },
{ "minimum_gif_delay", OPTION_INTEGER, &option_minimum_gif_delay },
{ "send_referer", OPTION_BOOL, &option_send_referer },
- { "animate_images", OPTION_BOOL, &option_animate_images }, \
+ { "animate_images", OPTION_BOOL, &option_animate_images },
+ { "expire_url", OPTION_INTEGER, &option_expire_url }, \
EXTRA_OPTION_TABLE
};