]> git.cworth.org Git - notmuch/blobdiff - lib/notmuch.h
lib: add NOTMUCH_STATUS_CLOSED_DATABASE, use in _n_d_ensure_writable
[notmuch] / lib / notmuch.h
index 44263a6663262c6a65ef556658aba26cd8ec69f9..0b0540b13437f6161adbba741352ae9df0a2cdfd 100644 (file)
@@ -228,6 +228,10 @@ typedef enum {
      * No mail root could be deduced from parameters and environment
      */
     NOTMUCH_STATUS_NO_MAIL_ROOT,
+    /**
+     * Database is not fully opened, or has been closed
+     */
+    NOTMUCH_STATUS_CLOSED_DATABASE,
     /**
      * Not an actual status value. Just a way to find out how many
      * valid status values there are.