libyang
1.0.253
YANG data modeling language library
|
Macros | |
#define | LYEXT_OPT_INHERIT 0x01 |
#define | LYEXT_OPT_VALID 0x08 |
#define | LYEXT_OPT_VALID_SUBTREE 0x10 |
#define | LYEXT_OPT_PLUGIN1 0x0100 |
#define | LYEXT_OPT_PLUGIN2 0x0200 |
#define | LYEXT_OPT_PLUGIN3 0x0400 |
#define | LYEXT_OPT_PLUGIN4 0x0800 |
#define | LYEXT_OPT_PLUGIN5 0x1000 |
#define | LYEXT_OPT_PLUGIN6 0x2000 |
#define | LYEXT_OPT_PLUGIN7 0x4000 |
#define | LYEXT_OPT_PLUGIN8 0x8000 |
Various flags for extensions.
#define LYEXT_OPT_INHERIT 0x01 |
When instantiated in lys_node, the extension is supposed to be inherited into the children lys_node elements. The plugin can affect inheriting by a callback to decide if the extension instance is supposed to be inherited. The extension instance with this flag is not printed and it is just a shadow copy of the original extension instance in some of the parents.
Definition at line 404 of file tree_schema.h.
#define LYEXT_OPT_VALID 0x08 |
needed to call calback for validation
Definition at line 417 of file tree_schema.h.
#define LYEXT_OPT_VALID_SUBTREE 0x10 |
The plugin needs to do validation on nodes in the subtree of the extended node (i.e. not only the extended node nor its direct children). valid_data callback will be called when any descendant node in the subtree of the extended node is modified.
Definition at line 418 of file tree_schema.h.
#define LYEXT_OPT_PLUGIN1 0x0100 |
reserved flag for plugin-specific use
Definition at line 425 of file tree_schema.h.
#define LYEXT_OPT_PLUGIN2 0x0200 |
reserved flag for plugin-specific use
Definition at line 426 of file tree_schema.h.
#define LYEXT_OPT_PLUGIN3 0x0400 |
reserved flag for plugin-specific use
Definition at line 427 of file tree_schema.h.
#define LYEXT_OPT_PLUGIN4 0x0800 |
reserved flag for plugin-specific use
Definition at line 428 of file tree_schema.h.
#define LYEXT_OPT_PLUGIN5 0x1000 |
reserved flag for plugin-specific use
Definition at line 429 of file tree_schema.h.
#define LYEXT_OPT_PLUGIN6 0x2000 |
reserved flag for plugin-specific use
Definition at line 430 of file tree_schema.h.
#define LYEXT_OPT_PLUGIN7 0x4000 |
reserved flag for plugin-specific use
Definition at line 431 of file tree_schema.h.
#define LYEXT_OPT_PLUGIN8 0x8000 |
reserved flag for plugin-specific use
Definition at line 432 of file tree_schema.h.