libyang 2.0.231
libyang is YANG data modelling language parser and toolkit written (and providing API) in C.
plugins_exts_print.h
Go to the documentation of this file.
1
15#ifndef LY_PLUGINS_EXTS_PRINT_H_
16#define LY_PLUGINS_EXTS_PRINT_H_
17
18#include <stdint.h>
19
20#include "config.h"
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
44struct lyspr_ctx;
45
52LIBYANG_API_DECL struct ly_out **lys_ypr_ctx_get_out(const struct lyspr_ctx *ctx);
53
59LIBYANG_API_DECL uint32_t *lys_ypr_ctx_get_options(const struct lyspr_ctx *ctx);
60
66LIBYANG_API_DECL uint16_t *lys_ypr_ctx_get_level(const struct lyspr_ctx *ctx);
67
78LIBYANG_API_DECL void lysc_print_extension_instance(struct lyspr_ctx *ctx, const struct lysc_ext_instance *ext, ly_bool *flag);
79
82#ifdef __cplusplus
83}
84#endif
85
86#endif /* LY_PLUGINS_EXTS_PRINT_H_ */
LIBYANG_API_DECL uint16_t * lys_ypr_ctx_get_level(const struct lyspr_ctx *ctx)
YANG printer context getter for printer indentation level.
LIBYANG_API_DECL struct ly_out ** lys_ypr_ctx_get_out(const struct lyspr_ctx *ctx)
YANG printer context getter for output handler.
LIBYANG_API_DECL uint32_t * lys_ypr_ctx_get_options(const struct lyspr_ctx *ctx)
YANG printer context getter for printer options.
LIBYANG_API_DECL void lysc_print_extension_instance(struct lyspr_ctx *ctx, const struct lysc_ext_instance *ext, ly_bool *flag)
Print substatements of an extension instance.
YANG extension instance.
Definition: tree_schema.h:1429
uint8_t ly_bool
Type to indicate boolean value.
Definition: log.h:34
Printer output structure specifying where the data are printed.