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

#define LYD_IMPLICIT_NO_CONFIG   0x02

Do not add any implicit config nodes.

Definition at line 1656 of file tree_data.h.

#define LYD_IMPLICIT_NO_DEFAULTS   0x08

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

Definition at line 1658 of file tree_data.h.

#define LYD_IMPLICIT_NO_STATE   0x01

Do not add any implicit state nodes.

Definition at line 1655 of file tree_data.h.

#define LYD_IMPLICIT_OUTPUT   0x04

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

Definition at line 1657 of file tree_data.h.