libyang  2.1.80
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
Implicit node creation options


#define LYD_IMPLICIT_NO_STATE   0x01
#define LYD_IMPLICIT_OUTPUT   0x04

Detailed Description

Various options to change lyd_new_implicit*() behavior.

Default behavior:

Macro Definition Documentation


Do not add any implicit config nodes.

Definition at line 1626 of file tree_data.h.


Do not add any default nodes (leaves/leaf-lists), only non-presence containers.

Definition at line 1628 of file tree_data.h.

#define LYD_IMPLICIT_NO_STATE   0x01

Do not add any implicit state nodes.

Definition at line 1625 of file tree_data.h.

#define LYD_IMPLICIT_OUTPUT   0x04

For RPC/action nodes, add output implicit nodes instead of input.

Definition at line 1627 of file tree_data.h.