Skip to main content

lyd_merge_cb

Type Alias lyd_merge_cb 

Source
pub type lyd_merge_cb = Option<unsafe extern "C" fn(trg_node: *mut lyd_node, src_node: *const lyd_node, cb_data: *mut c_void) -> Type>;
Expand description

@brief Callback for matching merge nodes.

@param[in] trg_node Target data node. @param[in] src_node Source data node, is NULL if it was actually duplicated (no target node found) and its copy is @p trg_node. @param[in] cb_data Arbitrary callback data. @return LY_ERR value.

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.