X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch.h;h=a3608ba0dfcc03e0e8701192c57d4eab7199c165;hp=3f59709a579542db6eeaa1d00baa7022eff9396f;hb=7e8ba9adf8198acf46f36913853c1af332467afe;hpb=41c7ad2c91e56bfc0b2fefa0be303605d34f4042 diff --git a/notmuch.h b/notmuch.h index 3f59709a..a3608ba0 100644 --- a/notmuch.h +++ b/notmuch.h @@ -488,6 +488,16 @@ notmuch_thread_get_thread_id (notmuch_thread_t *thread); const char * notmuch_thread_get_subject (notmuch_thread_t *thread); +/* Get the date of the oldest message in 'thread' as a time_t value. + */ +time_t +notmuch_thread_get_oldest_date (notmuch_thread_t *thread); + +/* Get the date of the oldest message in 'thread' as a time_t value. + */ +time_t +notmuch_thread_get_newest_date (notmuch_thread_t *thread); + /* Get the tags for 'thread', returning a notmuch_tags_t object which * can be used to iterate over all tags. *