* C-API: Added xpath_first_localonly() as an xpath function that skips prefix and namespace checks.
* Added experimental code for optizing XPath search using binary search. * Enable with XPATH_LIST_OPTIMIZE * Changed `clicon_rpc_generate_error(msg, xerr)` to `clicon_rpc_generate_error(xerr, msg, arg)`
This commit is contained in:
parent
ab46ce9820
commit
7ad16bd84b
56 changed files with 602 additions and 227 deletions
|
|
@ -44,6 +44,6 @@ extern const map_str2int xpopmap[];
|
|||
/*
|
||||
* Prototypes
|
||||
*/
|
||||
int xp_eval(xp_ctx *xc, xpath_tree *xs, cvec *nsc, xp_ctx **xrp);
|
||||
int xp_eval(xp_ctx *xc, xpath_tree *xs, cvec *nsc, int localonly, xp_ctx **xrp);
|
||||
|
||||
#endif /* _CLIXON_XPATH_EVAL_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue