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
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
 

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 2467 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 2465 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 2468 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 2466 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 2464 of file tree_schema.h.