mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-27 03:44:23 +03:00
[project @ 2005-12-29 23:18:17 by rjw]
Add URL expiry option. svn path=/import/netsurf/; revision=1903
This commit is contained in:
parent
13ddb83357
commit
47a9cfe29e
@ -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
|
||||
};
|
||||
|
||||
|
@ -44,6 +44,7 @@ extern bool option_block_ads;
|
||||
extern int option_minimum_gif_delay;
|
||||
extern bool option_send_referer;
|
||||
extern bool option_animate_images;
|
||||
extern int option_expire_url;
|
||||
|
||||
void options_read(const char *path);
|
||||
void options_write(const char *path);
|
||||
|
Loading…
x
Reference in New Issue
Block a user