Skip to main content

xmlOutputWriteCallback

Type Alias xmlOutputWriteCallback 

Source
pub type xmlOutputWriteCallback = unsafe extern "C" fn(context: *mut c_void, buffer: *const c_char, len: c_int) -> c_int;
Expand description

Write callback for custom output.

Should write up to len bytes from buffer. Returns the number of bytes written, or -1 on error.