X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=lib%2Fnotmuch-private.h;h=1583498ea72aa1689b2cb7d25cdd219684b39bf4;hb=d746688bebf76e2ba276ae965c9372670607c68f;hp=c4b66395f326a449c0e023a41cc24565f9668017;hpb=d136a1e2cffe954d83495c0f8e45d5ce97583e90;p=notmuch diff --git a/lib/notmuch-private.h b/lib/notmuch-private.h index c4b66395..1583498e 100644 --- a/lib/notmuch-private.h +++ b/lib/notmuch-private.h @@ -147,9 +147,6 @@ typedef enum _notmuch_private_status { const char * _find_prefix (const char *name); -char * -_parse_message_id (void *ctx, const char *message_id, const char **next); - /* thread.cc */ notmuch_thread_t * @@ -167,8 +164,7 @@ _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); @@ -208,6 +204,9 @@ _notmuch_message_set_date (notmuch_message_t *message, void _notmuch_message_sync (notmuch_message_t *message); +void +_notmuch_message_close (notmuch_message_t *message); + /* index.cc */ notmuch_status_t @@ -235,7 +234,7 @@ notmuch_message_file_open (const char *filename); notmuch_message_file_t * _notmuch_message_file_open_ctx (void *ctx, const char *filename); -/* Close a notmuch message preivously opened with notmuch_message_open. */ +/* Close a notmuch message previously opened with notmuch_message_open. */ void notmuch_message_file_close (notmuch_message_file_t *message); @@ -304,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.