X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch.h;h=57ff8c8f3003fd63298ca7acd9464399ffe9262b;hp=bc2caaad5c800fdca224a8288d50ff2f1dbb7ad5;hb=868d3b30683e40af723a8c94141172bd78d2b118;hpb=31044d10ed114637464481d1a0f4771ed170950e diff --git a/notmuch.h b/notmuch.h index bc2caaad..57ff8c8f 100644 --- a/notmuch.h +++ b/notmuch.h @@ -342,6 +342,13 @@ notmuch_results_destroy (notmuch_results_t *results); const char * notmuch_message_get_message_id (notmuch_message_t *message); +/* Get this filename for the email corresponding to 'message'. + * + * The returned filename is relative to the base of the database from + * which 'message' was obtained. See notmuch_database_get_path() .*/ +const char * +notmuch_message_get_filename (notmuch_message_t *message); + /* Get the tags for 'message', returning a notmuch_tags_t object which * can be used to iterate over all tags. *