X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fnotmuch-private.h;h=c7fb0ef89312fa35ffda1cee7f22a9cd08da30c3;hp=27b1317da3609c42953de1e40a5f047a9932fb1a;hb=a696119756fb13ef875d01134a84a25ac846a7bb;hpb=807aef93d3bf02884f7a37b44b894c11d9e1df58 diff --git a/lib/notmuch-private.h b/lib/notmuch-private.h index 27b1317d..c7fb0ef8 100644 --- a/lib/notmuch-private.h +++ b/lib/notmuch-private.h @@ -238,6 +238,9 @@ _notmuch_message_gen_terms (notmuch_message_t *message, const char *prefix_name, const char *text); +void +_notmuch_message_upgrade_filename_storage (notmuch_message_t *message); + notmuch_status_t _notmuch_message_add_filename (notmuch_message_t *message, const char *filename); @@ -255,6 +258,22 @@ _notmuch_message_sync (notmuch_message_t *message); void _notmuch_message_close (notmuch_message_t *message); +/* Get a copy of the data in this message document. + * + * Caller should talloc_free the result when done. + * + * This function is intended to support database upgrade and really + * shouldn't be used otherwise. */ +char * +_notmuch_message_talloc_copy_data (notmuch_message_t *message); + +/* Clear the data in this message document. + * + * This function is intended to support database upgrade and really + * shouldn't be used otherwise. */ +void +_notmuch_message_clear_data (notmuch_message_t *message); + /* index.cc */ notmuch_status_t