aboutsummaryrefslogtreecommitdiff
path: root/bindings/python-cffi/notmuch2/_build.py
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2021-12-04 09:27:30 -0400
committerDavid Bremner <david@tethera.net>2021-12-04 09:27:30 -0400
commit1e7d33961e626488b09b56c8543e8edf00648670 (patch)
tree20c45ab5912db85b2aefd399c31b5318356ebf43 /bindings/python-cffi/notmuch2/_build.py
parent20b2ae12183a5be79d2f3d8da7943bc358e8202c (diff)
parentd7f95724132bf658fd151630185899737e2ed829 (diff)
Merge branch 'release'
Diffstat (limited to 'bindings/python-cffi/notmuch2/_build.py')
-rw-r--r--bindings/python-cffi/notmuch2/_build.py24
1 files changed, 11 insertions, 13 deletions
diff --git a/bindings/python-cffi/notmuch2/_build.py b/bindings/python-cffi/notmuch2/_build.py
index 24df939e..f6184b97 100644
--- a/bindings/python-cffi/notmuch2/_build.py
+++ b/bindings/python-cffi/notmuch2/_build.py
@@ -103,20 +103,18 @@ ffibuilder.cdef(
notmuch_status_to_string (notmuch_status_t status);
notmuch_status_t
- notmuch_database_create_verbose (const char *path,
- notmuch_database_t **database,
- char **error_message);
+ notmuch_database_create_with_config (const char *database_path,
+ const char *config_path,
+ const char *profile,
+ notmuch_database_t **database,
+ char **error_message);
notmuch_status_t
- notmuch_database_create (const char *path, notmuch_database_t **database);
- notmuch_status_t
- notmuch_database_open_verbose (const char *path,
- notmuch_database_mode_t mode,
- notmuch_database_t **database,
- char **error_message);
- notmuch_status_t
- notmuch_database_open (const char *path,
- notmuch_database_mode_t mode,
- notmuch_database_t **database);
+ notmuch_database_open_with_config (const char *database_path,
+ notmuch_database_mode_t mode,
+ const char *config_path,
+ const char *profile,
+ notmuch_database_t **database,
+ char **error_message);
notmuch_status_t
notmuch_database_close (notmuch_database_t *database);
notmuch_status_t