]> git.notmuchmail.org Git - notmuch/blobdiff - lib/notmuch.h
lib: publish API for notmuch_database_reopen
[notmuch] / lib / notmuch.h
index 58c568d5a927ccab66c44a3d736037333456062c..db86ffc003d2bea735b6bc2daea19fc28fdfd62b 100644 (file)
@@ -879,6 +879,13 @@ notmuch_database_find_message_by_filename (notmuch_database_t *notmuch,
 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'.
  *