X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=lib%2Fnotmuch-private.h;h=1583498ea72aa1689b2cb7d25cdd219684b39bf4;hb=52292c548512214fd3dd205edb4ca9cf7955f2b3;hp=6036ce4a63a023399340d6d91c355b785744a38c;hpb=933caf814fcbbb7420d03ef42bb37bea6dd90449;p=notmuch diff --git a/lib/notmuch-private.h b/lib/notmuch-private.h index 6036ce4a..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);