diff options
author | Carl Worth <cworth@cworth.org> | 2009-10-29 17:31:07 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2009-10-29 17:31:07 -0700 |
commit | c771eaf362edb021888d114989d38d8fb2b4cfb3 (patch) | |
tree | ba5a02ac5a84560733b5e31d3b633b8d256bb382 /notmuch.h | |
parent | 41c7ad2c91e56bfc0b2fefa0be303605d34f4042 (diff) |
notmuch search: Add (relative) date to search output
The new function for formatting relative dates is nice enough that
we need to start using it more places. Here's one of them.
Diffstat (limited to 'notmuch.h')
-rw-r--r-- | notmuch.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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. * |