X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=lib%2Fnotmuch-private.h;h=c398c80add1f840d492a254aed53238b7e97d5af;hb=24a25ffba98c1c34d92cefb9e23dd44e3be76126;hp=74edf242cc1d47f8d6c68f4653c2f33a0c8b3d20;hpb=b97756926f3bb9f940e8d6a9724c02a29f40f128;p=notmuch diff --git a/lib/notmuch-private.h b/lib/notmuch-private.h index 74edf242..c398c80a 100644 --- a/lib/notmuch-private.h +++ b/lib/notmuch-private.h @@ -167,11 +167,13 @@ _notmuch_message_create (const void *talloc_owner, notmuch_private_status_t *status); notmuch_message_t * -_notmuch_message_create_for_message_id (const void *talloc_owner, - notmuch_database_t *notmuch, +_notmuch_message_create_for_message_id (notmuch_database_t *notmuch, const char *message_id, notmuch_private_status_t *status); +const char * +_notmuch_message_get_in_reply_to (notmuch_message_t *message); + notmuch_private_status_t _notmuch_message_add_term (notmuch_message_t *message, const char *prefix_name, @@ -301,6 +303,12 @@ _notmuch_message_list_add_message (notmuch_message_list_t *list, notmuch_messages_t * _notmuch_messages_create (notmuch_message_list_t *list); +/* message.cc */ + +void +_notmuch_message_add_reply (notmuch_message_t *message, + notmuch_message_node_t *reply); + /* date.c */ /* Parse an RFC 8222 date string to a time_t value.