aboutsummaryrefslogtreecommitdiffstats
path: root/src/ffi.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ffi.rs')
-rw-r--r--src/ffi.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ffi.rs b/src/ffi.rs
index 765b180..db67390 100644
--- a/src/ffi.rs
+++ b/src/ffi.rs
@@ -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.
///