Type Alias xmlOutputBufferCreateFilenameFunc

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

xmlOutputBufferCreateFilenameFunc: @URI: the URI to write to @enc: the requested target encoding

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

Returns the new xmlOutputBufferPtr in case of success or NULL if no method was found.

Aliased Type§

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.