Skip to main content

xmlOutputBufferCreateFilenameFunc

Type Alias xmlOutputBufferCreateFilenameFunc 

Source
pub type xmlOutputBufferCreateFilenameFunc = Option<unsafe extern "C" fn(URI: *const c_char, encoder: *mut xmlCharEncodingHandler, compression: c_int) -> *mut xmlOutputBuffer>;
Expand description

Signature for the function doing the lookup for a suitable output method corresponding to an URI.

@param URI the URI to write to @param encoder the requested target encoding @param compression compression level @returns the new xmlOutputBuffer in case of success or NULL if no method was found.

Aliased Type§

pub enum xmlOutputBufferCreateFilenameFunc {
    None,
    Some(unsafe extern "C" fn(*const i8, *mut _xmlCharEncodingHandler, i32) -> *mut _xmlOutputBuffer),
}

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.