libyang  2.2.8
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
Schema Node Types
Collaboration diagram for Schema Node Types:

Macros

#define LYS_ACTION   0x0200
 
#define LYS_ANYDATA   0x0060
 
#define LYS_ANYXML   0x0020
 
#define LYS_AUGMENT   0x8000
 
#define LYS_CASE   0x0080
 
#define LYS_CHOICE   0x0002
 
#define LYS_CONTAINER   0x0001
 
#define LYS_GROUPING   0x4000
 
#define LYS_INPUT   0x1000
 
#define LYS_LEAF   0x0004
 
#define LYS_LEAFLIST   0x0008
 
#define LYS_LIST   0x0010
 
#define LYS_NODETYPE_MASK   0xffff
 
#define LYS_NOTIF   0x0400
 
#define LYS_OUTPUT   0x2000
 
#define LYS_RPC   0x0100
 
#define LYS_UNKNOWN   0x0000
 
#define LYS_USES   0x0800
 

Detailed Description

Values of the lysp_node.nodetype and lysc_node.nodetype members.

Macro Definition Documentation

#define LYS_ACTION   0x0200

action statement node

Definition at line 250 of file tree_schema.h.

#define LYS_ANYDATA   0x0060

anydata statement node, in tests it can be used for both LYS_ANYXML and LYS_ANYDATA

Definition at line 246 of file tree_schema.h.

#define LYS_ANYXML   0x0020

anyxml statement node

Definition at line 245 of file tree_schema.h.

#define LYS_AUGMENT   0x8000

Definition at line 257 of file tree_schema.h.

#define LYS_CASE   0x0080

case statement node

Definition at line 247 of file tree_schema.h.

#define LYS_CHOICE   0x0002

choice statement node

Definition at line 241 of file tree_schema.h.

#define LYS_CONTAINER   0x0001

container statement node

Definition at line 240 of file tree_schema.h.

#define LYS_GROUPING   0x4000

Definition at line 256 of file tree_schema.h.

#define LYS_INPUT   0x1000

RPC/action input node

Definition at line 254 of file tree_schema.h.

#define LYS_LEAF   0x0004

leaf statement node

Definition at line 242 of file tree_schema.h.

#define LYS_LEAFLIST   0x0008

leaf-list statement node

Definition at line 243 of file tree_schema.h.

#define LYS_LIST   0x0010

list statement node

Definition at line 244 of file tree_schema.h.

#define LYS_NODETYPE_MASK   0xffff

Mask for nodetypes, the value is limited for 16 bits

Definition at line 259 of file tree_schema.h.

#define LYS_NOTIF   0x0400

notification statement node

Definition at line 251 of file tree_schema.h.

#define LYS_OUTPUT   0x2000

RPC/action output node

Definition at line 255 of file tree_schema.h.

#define LYS_RPC   0x0100

RPC statement node

Definition at line 249 of file tree_schema.h.

#define LYS_UNKNOWN   0x0000

uninitalized unknown statement node

Definition at line 239 of file tree_schema.h.

#define LYS_USES   0x0800

uses statement node

Definition at line 253 of file tree_schema.h.