Skip to main content

xmlDOMWrapAcquireNsFunction

Type Alias xmlDOMWrapAcquireNsFunction 

Source
pub type xmlDOMWrapAcquireNsFunction = Option<unsafe extern "C" fn(ctxt: *mut xmlDOMWrapCtxt, node: *mut xmlNode, nsName: *const xmlChar, nsPrefix: *const xmlChar) -> *mut xmlNs>;
Expand description

A function called to acquire namespaces (xmlNs) from the wrapper.

@param ctxt a DOM wrapper context @param node the context node (element or attribute) @param nsName the requested namespace name @param nsPrefix the requested namespace prefix @returns an xmlNs or NULL in case of an error.

Aliased Type§

pub enum xmlDOMWrapAcquireNsFunction {
    None,
    Some(unsafe extern "C" fn(*mut _xmlDOMWrapCtxt, *mut _xmlNode, *const u8, *const u8) -> *mut _xmlNs),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut _xmlDOMWrapCtxt, *mut _xmlNode, *const u8, *const u8) -> *mut _xmlNs)

Some value of type T.