notmuch dump: Fix the sorting of results.
[notmuch] / notmuch-private.h
index 728c1a676debc9e41a92298cd22d1216119282d3..2bf6beb456615074b76da2f62cfbaec5cd824c65 100644 (file)
@@ -66,6 +66,15 @@ NOTMUCH_BEGIN_DECLS
 #endif
 #endif
 
+/* These value numbers are chosen to be sup compatible (for now at
+ * least). */
+
+typedef enum {
+    NOTMUCH_VALUE_MESSAGE_ID = 0,
+    NOTMUCH_VALUE_THREAD = 1,
+    NOTMUCH_VALUE_DATE = 2
+} notmuch_value_t;
+
 /* xutil.c */
 void *
 xcalloc (size_t nmemb, size_t size);