diff options
author | Carl Worth <cworth@cworth.org> | 2009-10-23 14:31:01 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2009-10-23 14:31:01 -0700 |
commit | 68a10091d6b2c29e996ee84040eecad487cb5e91 (patch) | |
tree | 1f3cfd152cf2ef0b505f933c02684cfcbca5e038 /notmuch.c | |
parent | 668f20bdfbaa5ae9caedd3f02017c5637e5e6ff7 (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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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> |