]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-private.h
notmuch dump: Fix to print spaces between tags.
[notmuch] / notmuch-private.h
index 728c1a676debc9e41a92298cd22d1216119282d3..c60c4d89d0c297a6bdb56442566628f4590f1c25 100644 (file)
@@ -43,6 +43,7 @@ NOTMUCH_BEGIN_DECLS
 
 #include <talloc.h>
 
+#include "xutil.h"
 
 /* Thanks to Andrew Tridgell's (SAMBA's) talloc for this definition of
  * unlikely. The talloc source code comes to us via the GNU LGPL v. 3.
@@ -66,21 +67,14 @@ NOTMUCH_BEGIN_DECLS
 #endif
 #endif
 
-/* xutil.c */
-void *
-xcalloc (size_t nmemb, size_t size);
+/* These value numbers are chosen to be sup compatible (for now at
+ * least). */
 
-void *
-xmalloc (size_t size);
-
-void *
-xrealloc (void *ptrr, size_t size);
-
-char *
-xstrdup (const char *s);
-
-char *
-xstrndup (const char *s, size_t n);
+typedef enum {
+    NOTMUCH_VALUE_MESSAGE_ID = 0,
+    NOTMUCH_VALUE_THREAD = 1,
+    NOTMUCH_VALUE_DATE = 2
+} notmuch_value_t;
 
 /* message.cc */