pub unsafe extern "C" fn pomp_prot_release_msg(
prot: *mut pomp_prot,
msg: *mut pomp_msg,
) -> c_intExpand description
Release a previously decoded message. This is to reuse message structure if possible and avoid some malloc/free at each decoded message. If there is already a internal message structure, it is simply destroyed. @param prot : protocol decoder. @param msg : message to release. @return 0 in case of success, negative errno value in case of error.