Skip to main content

xmlRegisterOutputCallbacks

Function xmlRegisterOutputCallbacks 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn xmlRegisterOutputCallbacks( matchFunc: Option<unsafe extern "C" fn(filename: *const c_char) -> c_int>, openFunc: Option<unsafe extern "C" fn(filename: *const c_char) -> *mut c_void>, writeFunc: Option<xmlOutputWriteCallback>, closeFunc: Option<xmlOutputCloseCallback>, ) -> c_int
Expand description

Register a new set of output I/O callbacks.

§UPSTREAM-PARITY

int xmlRegisterOutputCallbacks(xmlOutputMatchCallback matchFunc,
                               xmlOutputOpenCallback openFunc,
                               xmlOutputWriteCallback writeFunc,
                               xmlOutputCloseCallback closeFunc);