aboutsummaryrefslogtreecommitdiff
path: root/lib/notmuch.h
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2021-02-17 11:04:54 -0400
committerDavid Bremner <david@tethera.net>2021-03-20 07:51:36 -0300
commita7873df331bcd53dd1bc8da95c4279163437cc13 (patch)
tree4713a9deb8323509023dd2f091aa0eb85280c809 /lib/notmuch.h
parente3a4abc513d314cf7550d43fdcba458421a2daac (diff)
lib/config: add configuration variable for backup directory
Like the hook directory, we primarily need a way to communicate this directory between various components, but we may as well let the user configure it. Most of the diff is generalizing choose_hook_dir to work for both backup and hook directories.
Diffstat (limited to 'lib/notmuch.h')
-rw-r--r--lib/notmuch.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/notmuch.h b/lib/notmuch.h
index c9b01719..f9efd79e 100644
--- a/lib/notmuch.h
+++ b/lib/notmuch.h
@@ -2476,6 +2476,7 @@ typedef enum _notmuch_config_key {
NOTMUCH_CONFIG_DATABASE_PATH = NOTMUCH_CONFIG_FIRST,
NOTMUCH_CONFIG_MAIL_ROOT,
NOTMUCH_CONFIG_HOOK_DIR,
+ NOTMUCH_CONFIG_BACKUP_DIR,
NOTMUCH_CONFIG_EXCLUDE_TAGS,
NOTMUCH_CONFIG_NEW_TAGS,
NOTMUCH_CONFIG_NEW_IGNORE,