![]() |
libyang 2.0.231
libyang is YANG data modelling language parser and toolkit written (and providing API) in C.
|
libyang support for YANG extensions implementation - schema compilation related items. More...
Go to the source code of this file.
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) |
Functions | |
LIBYANG_API_DECL LY_ERR | lys_compile_extension_instance (struct lysc_ctx *ctx, const struct lysp_ext_instance *ext_p, struct lysc_ext_instance *ext) |
Compile substatements of an extension instance. More... | |
LIBYANG_API_DECL struct ly_ctx * | lysc_ctx_get_ctx (const struct lysc_ctx *ctx) |
YANG schema compilation context getter for libyang context. More... | |
LIBYANG_API_DECL const struct lys_module * | lysc_ctx_get_cur_mod (const struct lysc_ctx *ctx) |
YANG schema compilation context getter for current module. More... | |
LIBYANG_API_DECL uint32_t * | lysc_ctx_get_options (const struct lysc_ctx *ctx) |
YANG schema compilation context getter for compilation options. More... | |
LIBYANG_API_DECL const char * | lysc_ctx_get_path (const struct lysc_ctx *ctx) |
YANG schema compilation context getter for path being currently processed. More... | |
LIBYANG_API_DECL struct lysp_module * | lysc_ctx_get_pmod (const struct lysc_ctx *ctx) |
YANG schema compilation context getter for currently processed module. More... | |
LIBYANG_API_DECL struct lysc_ext * | lysc_ext_dup (struct lysc_ext *orig) |
Duplicate the compiled extension (definition) structure. More... | |
LIBYANG_API_DECL void | lysc_update_path (struct lysc_ctx *ctx, struct lys_module *parent_module, const char *name) |
Update path in the compile context, which is used for logging where the compilation failed. More... | |
libyang support for YANG extensions implementation - schema compilation related items.
Copyright (c) 2015 - 2021 CESNET, z.s.p.o.
This source code is licensed under BSD 3-Clause License (the "License"). You may not use this file except in compliance with the License. You may obtain a copy of the License at
https://opensource.org/licenses/BSD-3-Clause
Definition in file plugins_exts_compile.h.