pub unsafe extern "C" fn pomp_buffer_get_cdata(
buf: *const pomp_buffer,
cdata: *mut *const c_void,
len: *mut usize,
capacity: *mut usize,
) -> c_intExpand description
Get internal buffer data for read-only. @param buf : buffer @param cdata : data of buffer (optional can be NULL). @param len : used length of buffer (optional can be NULL). @param capacity : capacity of buffer (optional can be NULL). @return 0 in case of success, negative errno value in case of error.