diff options
Diffstat (limited to 'src/ffi.rs')
| -rw-r--r-- | src/ffi.rs | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -907,6 +907,17 @@ extern { thread: *mut notmuch_thread_t, ) -> c_int; + /// Get the total number of files in 'thread'. + /// + /// This sums notmuch_message_count_files over all messages in the + /// thread + /// @returns Non-negative integer + /// @since libnotmuch 5.0 (notmuch 0.25) + /// + pub fn notmuch_thread_get_total_files( + thread: *mut notmuch_thread_t, + ) -> c_int; + /// Get a `notmuch_messages_t` iterator for the top-level messages in /// 'thread' in oldest-first order. /// |
