]> git.cworth.org Git - notmuch/blobdiff - lib/notmuch.h
lib: add new status code for query syntax errors.
[notmuch] / lib / notmuch.h
index 2f1ee9518c5aeec0acbefdf5d1cd38212cf51d11..546643e80cbb66364b2502f6b8046291959d9d8b 100644 (file)
@@ -220,6 +220,10 @@ typedef enum _notmuch_status {
      * Database exists, so not (re)-created
      */
     NOTMUCH_STATUS_DATABASE_EXISTS,
+    /**
+     * Syntax error in query
+     */
+    NOTMUCH_STATUS_BAD_QUERY_SYNTAX,
     /**
      * Not an actual status value. Just a way to find out how many
      * valid status values there are.