Loading...
Searching...
No Matches
Schema compile flags
Plugins: Extensions » Plugins: Extensions compilation support
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

## LYS_COMPILE_DISABLED

#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 545 of file plugins_exts.h.

## LYS_COMPILE_GROUPING

#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 542 of file plugins_exts.h.

## LYS_COMPILE_NO_CONFIG

#define LYS_COMPILE_NO_CONFIG 0x04

ignore config statements, neither inherit config value

Definition at line 546 of file plugins_exts.h.

## LYS_COMPILE_NO_DISABLED

#define LYS_COMPILE_NO_DISABLED 0x08

ignore if-feature statements

Definition at line 547 of file plugins_exts.h.

## LYS_COMPILE_NOTIFICATION

#define LYS_COMPILE_NOTIFICATION (LYS_IS_NOTIF | LYS_COMPILE_NO_CONFIG)

Internal option when compiling schema tree of Notification

Definition at line 551 of file plugins_exts.h.

## LYS_COMPILE_RPC_INPUT

#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 549 of file plugins_exts.h.

## LYS_COMPILE_RPC_OUTPUT

#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 550 of file plugins_exts.h.