]> git.notmuchmail.org Git - notmuch/blobdiff - lib/notmuch.h
notmuch search: Add support for a --reverse option to reverse sort order.
[notmuch] / lib / notmuch.h
index 6469744df36251294fd62d0ba9e4cd1b07224b51..d0b0d9e43f5bc302e25cb67bccb771772b739df6 100644 (file)
@@ -299,8 +299,8 @@ notmuch_query_create (notmuch_database_t *database,
 
 /* Sort values for notmuch_query_set_sort */
 typedef enum {
-    NOTMUCH_SORT_DATE_OLDEST_FIRST,
-    NOTMUCH_SORT_DATE_NEWEST_FIRST,
+    NOTMUCH_SORT_DATE,
+    NOTMUCH_SORT_DATE_REVERSE,
     NOTMUCH_SORT_MESSAGE_ID
 } notmuch_sort_t;