X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fnotmuch-private.h;h=f52b4e4776f956d1854c594574657d84a1d0094a;hp=cc9ce12ce69d664f708e96d93767355ecc1b4ff2;hb=7f57b747b95eece465d10fd0acba20cc3dd868f1;hpb=c9e1c4f1c495d7cc24a64b73edb4b7b71791a87f diff --git a/lib/notmuch-private.h b/lib/notmuch-private.h index cc9ce12c..f52b4e47 100644 --- a/lib/notmuch-private.h +++ b/lib/notmuch-private.h @@ -107,7 +107,8 @@ typedef enum { NOTMUCH_VALUE_TIMESTAMP = 0, NOTMUCH_VALUE_MESSAGE_ID, NOTMUCH_VALUE_FROM, - NOTMUCH_VALUE_SUBJECT + NOTMUCH_VALUE_SUBJECT, + NOTMUCH_VALUE_LAST_MOD, } notmuch_value_t; /* Xapian (with flint backend) complains if we provide a term longer @@ -194,6 +195,9 @@ void _notmuch_database_log (notmuch_database_t *notmuch, const char *format, ...); +unsigned long +_notmuch_database_new_revision (notmuch_database_t *notmuch); + const char * _notmuch_database_relative_path (notmuch_database_t *notmuch, const char *path); @@ -305,6 +309,10 @@ _notmuch_message_set_header_values (notmuch_message_t *message, const char *date, const char *from, const char *subject); + +void +_notmuch_message_upgrade_last_mod (notmuch_message_t *message); + void _notmuch_message_sync (notmuch_message_t *message);