Function notmuch_sys::notmuch_thread_get_toplevel_messages [] [src]

pub unsafe extern "C" fn notmuch_thread_get_toplevel_messages(
    thread: *mut notmuch_thread_t
) -> *mut notmuch_messages_t

Get a notmuch_messages_t iterator for the top-level messages in 'thread' in oldest-first order.

This iterator will not necessarily iterate over all of the messages in the thread. It will only iterate over the messages in the thread which are not replies to other messages in the thread.

The returned list will be destroyed when the thread is destroyed.