aboutsummaryrefslogtreecommitdiffstats
path: root/src/ffi.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ffi.rs')
-rw-r--r--src/ffi.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ffi.rs b/src/ffi.rs
index db67390..d181ea0 100644
--- a/src/ffi.rs
+++ b/src/ffi.rs
@@ -1149,6 +1149,13 @@ extern {
message: *mut notmuch_message_t,
) -> *mut notmuch_messages_t;
+ /// Get the total number of files associated with a message.
+ /// @returns Non-negative integer
+ /// @since libnotmuch 5.0 (notmuch 0.25)
+ pub fn notmuch_message_count_files(
+ message: *mut notmuch_message_t,
+ ) -> c_int;
+
/// Get a filename for the email corresponding to 'message'.
///
/// The returned filename is an absolute filename, (the initial