libyang  2.0.7
libyang is YANG data modelling language parser and toolkit written (and providing API) in C.
Data node flags
Collaboration diagram for Data node flags:

Macros

#define LYD_DEFAULT   0x01
 
#define LYD_NEW   0x04
 
#define LYD_WHEN_TRUE   0x02
 

Detailed Description

Various flags of data nodes.

1 - container    5 - anydata/anyxml
2 - list         6 - rpc/action
3 - leaf         7 - notification
4 - leaflist

bit name              1 2 3 4 5 6 7
---------------------+-+-+-+-+-+-+-+
  1 LYD_DEFAULT      |x| |x|x| | | |
                     +-+-+-+-+-+-+-+
  2 LYD_WHEN_TRUE    |x|x|x|x|x| | |
                     +-+-+-+-+-+-+-+
  3 LYD_NEW          |x|x|x|x|x|x|x|
---------------------+-+-+-+-+-+-+-+

Macro Definition Documentation

◆ LYD_DEFAULT

#define LYD_DEFAULT   0x01

default (implicit) node

Definition at line 745 of file tree_data.h.

◆ LYD_NEW

#define LYD_NEW   0x04

node was created after the last validation, is needed for the next validation

Definition at line 747 of file tree_data.h.

◆ LYD_WHEN_TRUE

#define LYD_WHEN_TRUE   0x02

all when conditions of this node were evaluated to true

Definition at line 746 of file tree_data.h.