Type Alias xmlInputCloseCallback

Source
pub type xmlInputCloseCallback = Option<unsafe extern "C" fn(context: *mut c_void) -> c_int>;
Expand description

xmlInputCloseCallback: @context: an Input context

Callback used in the I/O Input API to close the resource

Returns 0 or -1 in case of error

Aliased Type§

enum xmlInputCloseCallback {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void) -> i32)

Some value of type T.