libyang  3.6.1
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
Collaboration diagram for Schema compile flags:

Macros

#define LYS_COMPILE_DISABLED   0x02
 
#define LYS_COMPILE_GROUPING   0x01
 
#define LYS_COMPILE_NO_CONFIG   0x04
 
#define LYS_COMPILE_NO_DISABLED   0x08
 
#define LYS_COMPILE_NOTIFICATION   (LYS_IS_NOTIF | LYS_COMPILE_NO_CONFIG)
 
#define LYS_COMPILE_RPC_INPUT   (LYS_IS_INPUT | LYS_COMPILE_NO_CONFIG)
 
#define LYS_COMPILE_RPC_OUTPUT   (LYS_IS_OUTPUT | LYS_COMPILE_NO_CONFIG)
 

Detailed Description

Flags to modify schema compilation process and change the way how the particular statements are being compiled. *

Macro Definition Documentation

#define LYS_COMPILE_DISABLED   0x02

Compiling a disabled subtree (by its if-features). Meaning it will be removed at the end of compilation and should not be added to any unres sets.

Definition at line 547 of file plugins_exts.h.

#define LYS_COMPILE_GROUPING   0x01

Compiling (validation) of a non-instantiated grouping. In this case not all the restrictions are checked since they can be valid only in the real placement of the grouping. This is the case of any restriction that needs to look out of the statements themselves, since the context is not known.

Definition at line 538 of file plugins_exts.h.

#define LYS_COMPILE_NO_CONFIG   0x04

ignore config statements, neither inherit config value

Definition at line 552 of file plugins_exts.h.

#define LYS_COMPILE_NO_DISABLED   0x08

ignore if-feature statements

Definition at line 553 of file plugins_exts.h.

#define LYS_COMPILE_NOTIFICATION   (LYS_IS_NOTIF | LYS_COMPILE_NO_CONFIG)

Internal option when compiling schema tree of Notification

Definition at line 557 of file plugins_exts.h.

#define LYS_COMPILE_RPC_INPUT   (LYS_IS_INPUT | LYS_COMPILE_NO_CONFIG)

Internal option when compiling schema tree of RPC/action input

Definition at line 555 of file plugins_exts.h.

#define LYS_COMPILE_RPC_OUTPUT   (LYS_IS_OUTPUT | LYS_COMPILE_NO_CONFIG)

Internal option when compiling schema tree of RPC/action output

Definition at line 556 of file plugins_exts.h.