Function qpid_proton_sys::pn_message_annotations[][src]

pub unsafe extern "C" fn pn_message_annotations(
    msg: *mut pn_message_t
) -> *mut pn_data_t
Expand description

Get/set the annotations for a message. This operation returns a pointer to a pn_data_t representing the content of the annotations section of a message. The pointer is valid until the message is freed and may be used to both access and modify the content of the annotations section of a message. The pn_data_t must either be empty or consist of a symbol keyed map in order to be considered valid message annotations.