X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=lib%2Fnotmuch-private.h;h=cc9ce12ce69d664f708e96d93767355ecc1b4ff2;hb=be8e796fd51ffe956ac70b10868851ebbf56fcab;hp=dc58a2fd9cfaa94b3fecce214ee77a17f92af260;hpb=9b73a8bcc9cb381fc1a15013f4baa3ec9fdb97a7;p=notmuch diff --git a/lib/notmuch-private.h b/lib/notmuch-private.h index dc58a2fd..cc9ce12c 100644 --- a/lib/notmuch-private.h +++ b/lib/notmuch-private.h @@ -358,11 +358,12 @@ typedef struct _notmuch_message_file notmuch_message_file_t; * Returns NULL if any error occurs. */ notmuch_message_file_t * -_notmuch_message_file_open (const char *filename); +_notmuch_message_file_open (notmuch_database_t *notmuch, const char *filename); /* Like notmuch_message_file_open but with 'ctx' as the talloc owner. */ notmuch_message_file_t * -_notmuch_message_file_open_ctx (void *ctx, const char *filename); +_notmuch_message_file_open_ctx (notmuch_database_t *notmuch, + void *ctx, const char *filename); /* Close a notmuch message previously opened with notmuch_message_open. */ void