Skip to main content

xmlRegisterInputCallbacks

Function xmlRegisterInputCallbacks 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn xmlRegisterInputCallbacks( 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>, readFunc: Option<xmlInputReadCallback>, closeFunc: Option<xmlInputCloseCallback>, ) -> c_int
Expand description

Register a new set of input I/O callbacks.

§UPSTREAM-PARITY

int xmlRegisterInputCallbacks(xmlInputMatchCallback matchFunc,
                              xmlInputOpenCallback openFunc,
                              xmlInputReadCallback readFunc,
                              xmlInputCloseCallback closeFunc);