]> git.notmuchmail.org Git - notmuch/blobdiff - lib/notmuch.h
Merge tag '0.20.2'
[notmuch] / lib / notmuch.h
index c671d8229b39ba4700e72d9160b7382e97653382..c8edc84dcbd702a3916b6204a6171d786b9956d2 100644 (file)
@@ -163,6 +163,11 @@ typedef enum _notmuch_status {
      * The operation requires a database upgrade.
      */
     NOTMUCH_STATUS_UPGRADE_REQUIRED,
+    /**
+     * There is a problem with the proposed path, e.g. a relative path
+     * passed to a function expecting an absolute path.
+     */
+    NOTMUCH_STATUS_PATH_ERROR,
     /**
      * Not an actual status value. Just a way to find out how many
      * valid status values there are.
@@ -301,6 +306,13 @@ notmuch_database_open_verbose (const char *path,
                               notmuch_database_t **database,
                               char **error_message);
 
+/**
+ * Retrieve last status string for given database.
+ *
+ */
+const char *
+notmuch_database_status_string (notmuch_database_t *notmuch);
+
 /**
  * Commit changes and close the given notmuch database.
  *