libyang  2.0.7
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 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
42 struct lyspr_ctx;
43 
50 struct ly_out **lys_ypr_ctx_get_out(const struct lyspr_ctx *ctx);
51 
57 uint32_t *lys_ypr_ctx_get_options(const struct lyspr_ctx *ctx);
58 
64 uint16_t *lys_ypr_ctx_get_level(const struct lyspr_ctx *ctx);
65 
76 void lysc_print_extension_instance(struct lyspr_ctx *ctx, const struct lysc_ext_instance *ext, ly_bool *flag);
77 
80 #ifdef __cplusplus
81 }
82 #endif
83 
84 #endif /* LY_PLUGINS_EXTS_PRINT_H_ */
uint16_t * lys_ypr_ctx_get_level(const struct lyspr_ctx *ctx)
YANG printer context getter for printer indentation level.
struct ly_out ** lys_ypr_ctx_get_out(const struct lyspr_ctx *ctx)
YANG printer context getter for output handler.
void lysc_print_extension_instance(struct lyspr_ctx *ctx, const struct lysc_ext_instance *ext, ly_bool *flag)
Print substatements of an extension instance.
uint32_t * lys_ypr_ctx_get_options(const struct lyspr_ctx *ctx)
YANG printer context getter for printer options.
YANG extension instance.
Definition: tree_schema.h:1425
uint8_t ly_bool
Type to indicate boolean value.
Definition: log.h:25
Printer output structure specifying where the data are printed.