diff options
| author | David Bremner <david@tethera.net> | 2021-01-03 08:30:46 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2021-02-06 19:43:11 -0400 |
| commit | eea258c0c9386a5eecae48a98b552113a3584a7d (patch) | |
| tree | 767f2ce98ff1e91bd892df17c633a264e1c9ea2a /lib/notmuch.h | |
| parent | 1f860a6c41aad8b6d2350c439b39aa0692597a79 (diff) | |
lib: add NOTMUCH_STATUS_NO_CONFIG
This will allow client code to provide more meaningful diagnostics. In
particular it will enable "notmuch new" to continue suggsting the user
run "notmuch setup" to create a config after "notmuch new" is
transitioned to the new configuration framework.
Diffstat (limited to 'lib/notmuch.h')
| -rw-r--r-- | lib/notmuch.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/notmuch.h b/lib/notmuch.h index 5ec14c38..4f384e58 100644 --- a/lib/notmuch.h +++ b/lib/notmuch.h @@ -209,6 +209,10 @@ typedef enum _notmuch_status { */ NOTMUCH_STATUS_UNKNOWN_CRYPTO_PROTOCOL, /** + * Unable to load a config file + */ + NOTMUCH_STATUS_NO_CONFIG, + /** * Not an actual status value. Just a way to find out how many * valid status values there are. */ |
