pub unsafe extern "C" fn lyd_eval_xpath3(
ctx_node: *const lyd_node,
cur_mod: *const lys_module,
xpath: *const c_char,
format: Type,
prefix_data: *mut c_void,
vars: *const lyxp_var,
result: *mut ly_bool,
) -> TypeExpand description
@brief Evaluate an XPath on data and return the result converted to boolean.
It is ::lyd_eval_xpath2() with @p format and @p prefix_data added for special use-cases.
@param[in] ctx_node XPath context node. @param[in] cur_mod Current module of @p xpath, needed for some kinds of @p format. @param[in] xpath [XPath](@ref howtoXPath) to select with prefixes in in @p format. @param[in] format Format of any prefixes in @p xpath. @param[in] prefix_data Format-specific prefix data. @param[in] vars [Sized array](@ref sizedarrays) of XPath variables. @param[out] result Expression result converted to boolean. @return LY_SUCCESS on success, @p result is returned. @return LY_ERR value if an error occurred.