aboutsummaryrefslogtreecommitdiff
path: root/bindings/python-cffi/notmuch2/_build.py
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2021-01-03 08:50:12 -0400
committerDavid Bremner <david@tethera.net>2021-02-06 19:46:46 -0400
commit55f5e87096fda96280ccc4b191393c7e59b4df57 (patch)
tree068885ea4182e066429963f60d2314a06cf8e31e /bindings/python-cffi/notmuch2/_build.py
parentc447fe92c7ec3e6730d2cd0d739d8978cf8696f1 (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 'bindings/python-cffi/notmuch2/_build.py')
-rw-r--r--bindings/python-cffi/notmuch2/_build.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bindings/python-cffi/notmuch2/_build.py b/bindings/python-cffi/notmuch2/_build.py
index 93828627..f67b4de6 100644
--- a/bindings/python-cffi/notmuch2/_build.py
+++ b/bindings/python-cffi/notmuch2/_build.py
@@ -51,6 +51,7 @@ ffibuilder.cdef(
NOTMUCH_STATUS_FAILED_CRYPTO_CONTEXT_CREATION,
NOTMUCH_STATUS_UNKNOWN_CRYPTO_PROTOCOL,
NOTMUCH_STATUS_NO_CONFIG,
+ NOTMUCH_STATUS_DATABASE_EXISTS,
NOTMUCH_STATUS_LAST_STATUS
} notmuch_status_t;
typedef enum {