Function notmuch_sys::notmuch_message_get_property
[−]
[src]
pub unsafe extern "C" fn notmuch_message_get_property(
message: *mut notmuch_message_t,
key: *const c_char,
value: *mut *const c_char
) -> notmuch_status_t
Retrieve the value for a single property key
value is set to a string owned by the message or NULL if there is no such key. In the case of multiple values for the given key, the first one is retrieved.
@returns
- notmuch_status_t::NULL_POINTER
: value may not be NULL.
- notmuch_status_t::SUCCESS
: No error occured.
@since libnotmuch 4.4 (notmuch 0.23)