diff options
| author | Anton Khirnov <anton@khirnov.net> | 2020-06-15 23:55:52 +0200 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2020-06-15 21:50:03 -0300 |
| commit | 5a58754841f4d3e62d104ad338c8ca2c481dc32e (patch) | |
| tree | 20a47fa748153b8c93bffa30db77fea46c03b06d /bindings/python-cffi/notmuch2/_build.py | |
| parent | b7e3a347ac71d2d31747259d4b3bfa089fbaa2b1 (diff) | |
python/notmuch2: add bindings for the database config strings
Diffstat (limited to 'bindings/python-cffi/notmuch2/_build.py')
| -rw-r--r-- | bindings/python-cffi/notmuch2/_build.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/bindings/python-cffi/notmuch2/_build.py b/bindings/python-cffi/notmuch2/_build.py index 5e1fcac1..f269f2a1 100644 --- a/bindings/python-cffi/notmuch2/_build.py +++ b/bindings/python-cffi/notmuch2/_build.py @@ -314,6 +314,23 @@ ffibuilder.cdef( notmuch_indexopts_get_decrypt_policy (const notmuch_indexopts_t *indexopts); void notmuch_indexopts_destroy (notmuch_indexopts_t *options); + + notmuch_status_t + notmuch_database_set_config (notmuch_database_t *db, const char *key, const char *value); + notmuch_status_t + notmuch_database_get_config (notmuch_database_t *db, const char *key, char **value); + notmuch_status_t + notmuch_database_get_config_list (notmuch_database_t *db, const char *prefix, notmuch_config_list_t **out); + notmuch_bool_t + notmuch_config_list_valid (notmuch_config_list_t *config_list); + const char * + notmuch_config_list_key (notmuch_config_list_t *config_list); + const char * + notmuch_config_list_value (notmuch_config_list_t *config_list); + void + notmuch_config_list_move_to_next (notmuch_config_list_t *config_list); + void + notmuch_config_list_destroy (notmuch_config_list_t *config_list); """ ) |
