libyang  3.4.2
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
Options for ::lys_getnext() and ::lys_getnext_ext().
Collaboration diagram for Options for ::lys_getnext() and ::lys_getnext_ext().:

Macros

#define LYS_GETNEXT_INTONPCONT   0x08
 
#define LYS_GETNEXT_NOCHOICE   0x02
 
#define LYS_GETNEXT_OUTPUT   0x10
 
#define LYS_GETNEXT_WITHCASE   0x04
 
#define LYS_GETNEXT_WITHCHOICE   0x01
 
#define LYS_GETNEXT_WITHSCHEMAMOUNT   0x20
 

Detailed Description

Various options setting behavior of lys_getnext() and lys_getnext_ext().

Macro Definition Documentation

#define LYS_GETNEXT_INTONPCONT   0x08

lys_getnext() option to look into non-presence container, instead of returning container itself

Definition at line 2242 of file tree_schema.h.

#define LYS_GETNEXT_NOCHOICE   0x02

lys_getnext() option to ignore (kind of conditional) nodes within choice node

Definition at line 2240 of file tree_schema.h.

#define LYS_GETNEXT_OUTPUT   0x10

lys_getnext() option to provide RPC's/action's output schema nodes instead of input schema nodes provided by default

Definition at line 2243 of file tree_schema.h.

#define LYS_GETNEXT_WITHCASE   0x04

lys_getnext() option to allow returning LYS_CASE nodes instead of looking into them

Definition at line 2241 of file tree_schema.h.

#define LYS_GETNEXT_WITHCHOICE   0x01

lys_getnext() option to allow returning LYS_CHOICE nodes instead of looking into them

Definition at line 2239 of file tree_schema.h.

#define LYS_GETNEXT_WITHSCHEMAMOUNT   0x20

lys_getnext() option to also traverse top-level nodes of all the mounted modules on the parent mount point but note that if any such nodes are returned, the caller must free their context

Definition at line 2246 of file tree_schema.h.