]> rtime.felk.cvut.cz Git - notmuch.git/commit
lib: Add an iterator over all messages in a thread
authorAustin Clements <amdragon@MIT.EDU>
Sun, 25 Nov 2012 04:57:05 +0000 (23:57 -0500)
committerDavid Bremner <bremner@debian.org>
Tue, 19 Feb 2013 00:20:59 +0000 (20:20 -0400)
commitf29bcc59df128e7ca37ed324846ebb760ee13be8
treeda22713b9acf4dd8bb2c6cb85fe6d30d61054d30
parentd6e3905df7cacb14832cd045280347f36fb0be19
lib: Add an iterator over all messages in a thread

Previously, getting the list of all messages in a thread required
recursively traversing the thread's message hierarchy, which was both
difficult and resulted in messages being out of order.  This adds a
public function to retrieve an iterator over all of the messages in a
thread in oldest-first order.
lib/notmuch.h
lib/thread.cc