aboutsummaryrefslogtreecommitdiff
path: root/lib/database.cc
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2021-03-14 11:01:57 -0300
committerDavid Bremner <david@tethera.net>2021-03-18 08:03:36 -0300
commit1121299905e2b2684d7cc56ec35c26c3a012783e (patch)
treeae0b17de61de2731d80a93f47fd472bd5113a4a9 /lib/database.cc
parent9a5406cc94f26dfa4839bacaae80b94d4ad6739e (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/database.cc')
-rw-r--r--lib/database.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/database.cc b/lib/database.cc
index f27616da..82ac5f20 100644
--- a/lib/database.cc
+++ b/lib/database.cc
@@ -518,7 +518,8 @@ notmuch_database_close (notmuch_database_t *notmuch)
}
notmuch_status_t
-_notmuch_database_reopen (notmuch_database_t *notmuch)
+notmuch_database_reopen (notmuch_database_t *notmuch,
+ unused(notmuch_database_mode_t mode))
{
if (_notmuch_database_mode (notmuch) != NOTMUCH_DATABASE_MODE_READ_ONLY)
return NOTMUCH_STATUS_UNSUPPORTED_OPERATION;