X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fnotmuch.h;h=4004af907d2e808c07e449b6b0d9d64d418a5bb5;hp=40a1dca7e1cab7467c90372f330848733fba1056;hb=2f4c5874747c58be04764a7c9a62f3b352e4f9fb;hpb=4d35c3544d7bb0143cb1a17cc197cfe271670bf8 diff --git a/lib/notmuch.h b/lib/notmuch.h index 40a1dca7..4004af90 100644 --- a/lib/notmuch.h +++ b/lib/notmuch.h @@ -451,6 +451,20 @@ notmuch_threads_destroy (notmuch_threads_t *threads); const char * notmuch_thread_get_thread_id (notmuch_thread_t *thread); +/* Get the authors of 'thread' + * + * The returned string is a comma-separated list of the names of the + * authors of mail messages in the query results that belong to this + * thread. + * + * The returned string belongs to 'thread' and as such, should not be + * modified by the caller and will only be valid for as long as the + * thread is valid, (which is until notmuch_thread_destroy or until + * the query from which it derived is destroyed). + */ +const char * +notmuch_thread_get_authors (notmuch_thread_t *thread); + /* Get the subject of 'thread' * * The subject is taken from the first message (according to the query