aboutsummaryrefslogtreecommitdiff
path: root/lib/notmuch.h
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2021-12-25 09:33:05 -0400
committerDavid Bremner <david@tethera.net>2022-01-15 15:59:39 -0400
commitfad2e7540bf9309bfb335650ded753e9ed085eff (patch)
treefe2526c42d0a11dc5a336de501e23a991da9c31f /lib/notmuch.h
parent64212c7b91cdb7e65a2a28f994f8d060a50ae78c (diff)
lib/open: no default mail root in split configurations
If we know the configuration is split, but there is no mail root defined, this indicates a (lack of) configuration error. Currently this can only arise in XDG configurations.
Diffstat (limited to 'lib/notmuch.h')
-rw-r--r--lib/notmuch.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/notmuch.h b/lib/notmuch.h
index 1b2bdf3f..fef98b4b 100644
--- a/lib/notmuch.h
+++ b/lib/notmuch.h
@@ -225,6 +225,10 @@ typedef enum {
*/
NOTMUCH_STATUS_BAD_QUERY_SYNTAX,
/**
+ * No mail root could be deduced from parameters and environment
+ */
+ NOTMUCH_STATUS_NO_MAIL_ROOT,
+ /**
* Not an actual status value. Just a way to find out how many
* valid status values there are.
*/