]> git.notmuchmail.org Git - notmuch/blobdiff - lib/notmuch.h
query.cc: allow to return query results unsorted
[notmuch] / lib / notmuch.h
index a7e66dd35c9e69bfa8882b8b2b27b8aee8d99a97..bae48a6589f62868331a3c7d7d70715d12ea706c 100644 (file)
@@ -346,7 +346,8 @@ notmuch_query_create (notmuch_database_t *database,
 typedef enum {
     NOTMUCH_SORT_OLDEST_FIRST,
     NOTMUCH_SORT_NEWEST_FIRST,
-    NOTMUCH_SORT_MESSAGE_ID
+    NOTMUCH_SORT_MESSAGE_ID,
+    NOTMUCH_SORT_UNSORTED
 } notmuch_sort_t;
 
 /* Specify the sorting desired for this query. */