Function notmuch_sys::notmuch_message_remove_all_properties [] [src]

pub unsafe extern "C" fn notmuch_message_remove_all_properties(
    message: *mut notmuch_message_t,
    key: *const c_char
) -> notmuch_status_t

Remove all (key,value) pairs from the given message.

@param[in,out] message message to operate on. @param[in] key key to delete properties for. If NULL, delete properties for all keys @returns - notmuch_status_::READ_ONLY_DATABASE: Database was opened in read-only mode so message cannot be modified. - notmuch_status_t::SUCCESS: No error occured.

@since libnotmuch 4.4 (notmuch 0.23)