diff options
| author | David Bremner <david@tethera.net> | 2021-01-03 08:50:12 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2021-02-06 19:46:46 -0400 |
| commit | 55f5e87096fda96280ccc4b191393c7e59b4df57 (patch) | |
| tree | 068885ea4182e066429963f60d2314a06cf8e31e /lib/notmuch.h | |
| parent | c447fe92c7ec3e6730d2cd0d739d8978cf8696f1 (diff) | |
lib: add NOTMUCH_STATUS_DATABASE_EXISTS
It is desirable to distinguish between attempting to create a database
that already exists, and more fatal errors like permission problems.
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 4f384e58..6d22d328 100644 --- a/lib/notmuch.h +++ b/lib/notmuch.h @@ -213,6 +213,10 @@ typedef enum _notmuch_status { */ NOTMUCH_STATUS_NO_CONFIG, /** + * Database exists, so not (re)-created + */ + NOTMUCH_STATUS_DATABASE_EXISTS, + /** * Not an actual status value. Just a way to find out how many * valid status values there are. */ |
