X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=lib%2Fnotmuch-private.h;h=f52b4e4776f956d1854c594574657d84a1d0094a;hb=cb08a2ee019e52dc29ba393d139fce8d7282c632;hp=cc9ce12ce69d664f708e96d93767355ecc1b4ff2;hpb=9d192da683b0656e37fc8d69c69698ca605926b3;p=notmuch 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);