libyang
6.4.13
libyang is YANG data modelling language parser and toolkit written (and providing API) in C.
Toggle main menu visibility
Loading...
Searching...
No Matches
libyang.h
Go to the documentation of this file.
1
15
16
#ifndef LY_LIBYANG_H_
17
#define LY_LIBYANG_H_
18
19
#ifdef __cplusplus
20
extern
"C"
{
21
#endif
22
23
#include "ly_config.h"
24
25
#include "
context.h
"
26
#include "
dict.h
"
27
#include "
in.h
"
28
#include "
log.h
"
29
#include "
ly_array.h
"
30
#include "
metadata.h
"
31
#include "
out.h
"
32
#include "
parser_data.h
"
33
#include "
parser_schema.h
"
34
#include "
printer_data.h
"
35
#include "
printer_schema.h
"
36
#include "
semver.h
"
37
#include "
set.h
"
38
#include "
tree_data.h
"
39
#include "
tree_schema.h
"
40
#include "
utils.h
"
41
45
#define ly_strerrcode ly_strerr
46
#define ly_last_errmsg ly_last_logmsg
47
#define ly_errcode(ctx) (ly_err_last(ctx) ? ly_err_last(ctx)->err : 0)
48
#define ly_errmsg(ctx) (ly_err_last(ctx) ? ly_err_last(ctx)->msg : NULL)
49
#define ly_errpath(ctx) (ly_err_last(ctx) ? (ly_err_last(ctx)->data_path ? ly_err_last(ctx)->data_path : ly_err_last(ctx)->schema_path) : NULL)
50
#define ly_vecode(ctx) (ly_err_last(ctx) ? ly_err_last(ctx)->vecode : 0)
51
59
101
123
152
168
177
178
#ifdef __cplusplus
179
}
180
#endif
181
182
#endif
/* LY_LIBYANG_H_ */
context.h
internal context structures and functions
dict.h
libyang dictionary
in.h
libyang input structures and functions
log.h
Logger manipulation routines and error definitions.
ly_array.h
libyang sized array API.
metadata.h
ietf-yang-metadata API
out.h
libyang output structures and functions
parser_data.h
Data parsers for libyang.
parser_schema.h
Schema parsers for libyang.
printer_data.h
Data printers for libyang.
printer_schema.h
Schema printers for libyang.
semver.h
ietf-yang-semver API
set.h
Generic set structure and manipulation routines.
tree_data.h
libyang representation of YANG data trees.
tree_schema.h
libyang representation of YANG schema trees.
utils.h
Utilities and generic types of libyang.
src
libyang.h
Privacy Policy
Generated on
for libyang by
1.17.0