Skip to main content

xmlCharEncConvImpl

Type Alias xmlCharEncConvImpl 

Source
pub type xmlCharEncConvImpl = Option<unsafe extern "C" fn(vctxt: *mut c_void, name: *const c_char, flags: xmlCharEncFlags, out: *mut *mut xmlCharEncodingHandler) -> xmlParserErrors>;
Expand description

If this function returns XML_ERR_OK, it must fill the out pointer with an encoding handler. The handler can be obtained from #xmlCharEncNewCustomHandler.

flags can contain XML_ENC_INPUT, XML_ENC_OUTPUT or both.

@param vctxt user data @param name encoding name @param flags bit mask of flags @param out pointer to resulting handler @returns an xmlParserErrors code.

Aliased Type§

pub enum xmlCharEncConvImpl {
    None,
    Some(unsafe extern "C" fn(*mut c_void, *const i8, u32, *mut *mut _xmlCharEncodingHandler) -> u32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut c_void, *const i8, u32, *mut *mut _xmlCharEncodingHandler) -> u32)

Some value of type T.