]> git.notmuchmail.org Git - notmuch/blobdiff - lib/notmuch-private.h
lib: Consolidate checks for read-only database.
[notmuch] / lib / notmuch-private.h
index 8b582640aacdf54e6e1518a5d00d8228b1b6b982..4eb82619afa91235daa1c3a00ffad6efe27a7294 100644 (file)
@@ -151,6 +151,9 @@ typedef enum _notmuch_private_status {
 const char *
 _find_prefix (const char *name);
 
+notmuch_status_t
+_notmuch_database_ensure_writable (notmuch_database_t *notmuch);
+
 const char *
 _notmuch_database_relative_path (notmuch_database_t *notmuch,
                                 const char *path);