pub type ly_ext_data_clb = Option<unsafe extern "C" fn(ext: *const lysc_ext_instance, parent: *const lyd_node, user_data: *mut c_void, ext_data: *mut *mut c_void, ext_data_free: *mut ly_bool) -> Type>;Expand description
@brief Callback for getting arbitrary run-time data required by an extension instance.
@param[in] ext Compiled extension instance. @param[in] parent Data parent node instance of a schema node with @p ext instance. In special cases (when not working with data) it can be NULL! @param[in] user_data User-supplied callback data. @param[out] ext_data Provided extension instance data. @param[out] ext_data_free Whether the extension instance should free @p ext_data or not. @return LY_ERR value.
Aliased Type§
pub enum ly_ext_data_clb {
None,
Some(unsafe extern "C" fn(*const lysc_ext_instance, *const lyd_node, *mut c_void, *mut *mut c_void, *mut u8) -> u32),
}