pomp_msg_new_with_buffer

Function pomp_msg_new_with_buffer 

Source
pub unsafe extern "C" fn pomp_msg_new_with_buffer(
    buf: *mut pomp_buffer,
) -> *mut pomp_msg
Expand description

Create a new message structure from a buffer with data. @param buf : buffer with message content (header + playload). @return new message structure or NULL in case of error.