summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2020-02-24 15:32:54 +0000
committerDaniel Silverstone <dsilvers@digital-scurf.org>2020-02-24 15:37:11 +0000
commita8ffa12cdf43a61a9112203944e6e0a626a048b0 (patch)
treec85835b59d0493ee75bdbf2949456f99f97dae9d /desktop
parent79821cd9cf31686f583e63b8cde33246f82a1936 (diff)
downloadnetsurf-a8ffa12cdf43a61a9112203944e6e0a626a048b0.tar.gz
netsurf-a8ffa12cdf43a61a9112203944e6e0a626a048b0.tar.bz2
options: Add disc_cache_path option
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/options.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/desktop/options.h b/desktop/options.h
index 326e041f6..539ff21c8 100644
--- a/desktop/options.h
+++ b/desktop/options.h
@@ -92,6 +92,9 @@ NSOPTION_STRING(accept_charset, NULL)
/** Preferred maximum size of memory cache / bytes. */
NSOPTION_INTEGER(memory_cache_size, 12 * 1024 * 1024)
+/** Preferred location of disc cache, or NULL for system provided location */
+NSOPTION_STRING(disc_cache_path, NULL)
+
/** Preferred expiry size of disc cache / bytes. */
NSOPTION_UINT(disc_cache_size, 1024 * 1024 * 1024)