[][src]Type Definition melib::backends::notmuch::bindings::notmuch_message_get_property

type notmuch_message_get_property = unsafe extern "C" fn(message: *mut notmuch_message_t, key: *const c_char, value: *mut *const c_char) -> notmuch_status_t;

@name Message Properties

This interface provides the ability to attach arbitrary (key,value) string pairs to a message, to remove such pairs, and to iterate over them. The caller should take some care as to what keys they add or delete values for, as other subsystems or extensions may depend on these properties.

Please see notmuch-properties(7) for more details about specific properties and conventions around their use.

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