libyang 2.0.231
libyang is YANG data modelling language parser and toolkit written (and providing API) in C.
Implicit node creation options
Collaboration diagram for Implicit node creation options:

Macros

#define LYD_IMPLICIT_NO_CONFIG   0x02
 
#define LYD_IMPLICIT_NO_DEFAULTS   0x08
 
#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

◆ LYD_IMPLICIT_NO_CONFIG

#define LYD_IMPLICIT_NO_CONFIG   0x02

Do not add any implicit config nodes.

Definition at line 1626 of file tree_data.h.

◆ LYD_IMPLICIT_NO_DEFAULTS

#define LYD_IMPLICIT_NO_DEFAULTS   0x08

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

Definition at line 1629 of file tree_data.h.

◆ LYD_IMPLICIT_NO_STATE

#define LYD_IMPLICIT_NO_STATE   0x01

Do not add any implicit state nodes.

Definition at line 1625 of file tree_data.h.

◆ LYD_IMPLICIT_OUTPUT

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