diff options
| author | David Bremner <david@tethera.net> | 2021-03-14 11:01:57 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2021-03-18 08:03:36 -0300 |
| commit | 1121299905e2b2684d7cc56ec35c26c3a012783e (patch) | |
| tree | ae0b17de61de2731d80a93f47fd472bd5113a4a9 /lib/notmuch.h | |
| parent | 9a5406cc94f26dfa4839bacaae80b94d4ad6739e (diff) | |
lib: publish API for notmuch_database_reopen
Include the (currently unused) mode argument which will specify which
mode to re-open the database in. Functionality and docs to be
finalized in a followup commit.
Diffstat (limited to 'lib/notmuch.h')
| -rw-r--r-- | lib/notmuch.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/notmuch.h b/lib/notmuch.h index 58c568d5..db86ffc0 100644 --- a/lib/notmuch.h +++ b/lib/notmuch.h @@ -880,6 +880,13 @@ notmuch_tags_t * notmuch_database_get_all_tags (notmuch_database_t *db); /** + * Reopen an open notmuch database. + * + */ +notmuch_status_t +notmuch_database_reopen (notmuch_database_t *db, notmuch_database_mode_t mode); + +/** * Create a new query for 'database'. * * Here, 'database' should be an open database, (see |
