aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch.c
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-10-23 14:31:01 -0700
committerGravatar Carl Worth <cworth@cworth.org>2009-10-23 14:31:01 -0700
commit68a10091d6b2c29e996ee84040eecad487cb5e91 (patch)
tree1f3cfd152cf2ef0b505f933c02684cfcbca5e038 /notmuch.c
parent668f20bdfbaa5ae9caedd3f02017c5637e5e6ff7 (diff)
Add notmuch_database_set_timestamp and notmuch_database_get_timestamp
These will be very helpful to implement an efficient "notmuch new" command which imports new mail messages that have appeared.
Diffstat (limited to 'notmuch.c')
-rw-r--r--notmuch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/notmuch.c b/notmuch.c
index 9b841b3a..279d21a5 100644
--- a/notmuch.c
+++ b/notmuch.c
@@ -18,11 +18,12 @@
* Author: Carl Worth <cworth@cworth.org>
*/
-#include "notmuch.h"
-
#ifndef _GNU_SOURCE
#define _GNU_SOURCE /* for getline */
#endif
+#include <stdio.h>
+
+#include "notmuch.h"
/* This is separate from notmuch-private.h because we're trying to
* keep notmuch.c from looking into any internals, (which helps us
@@ -30,7 +31,6 @@
*/
#include "xutil.h"
-#include <stdio.h>
#include <stddef.h>
#include <string.h>
#include <sys/stat.h>