libyang  2.0.164
libyang is YANG data modelling language parser and toolkit written (and providing API) in C.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Atomize XPath options

Macros

#define LYS_FIND_NO_MATCH_ERROR   0x40
 
#define LYS_FIND_XP_OUTPUT   0x10
 
#define LYS_FIND_XP_SCHEMA   0x08
 

Detailed Description

Options to modify behavior of lys_find_xpath() and lys_find_xpath_atoms() searching for schema nodes in schema tree.

Macro Definition Documentation

#define LYS_FIND_NO_MATCH_ERROR   0x40

Return error if a path segmenbt matches no nodes, otherwise only warning is printed.

Definition at line 2249 of file tree_schema.h.

#define LYS_FIND_XP_OUTPUT   0x10

Search RPC/action output nodes instead of input ones.

Definition at line 2248 of file tree_schema.h.

#define LYS_FIND_XP_SCHEMA   0x08

Apply node access restrictions defined for 'when' and 'must' evaluation.

Definition at line 2247 of file tree_schema.h.