libyang
3.7.5
libyang is YANG data modelling language parser and toolkit written (and providing API) in C.
|
The main libyang public header. More...
#include <stdint.h>
#include "context.h"
#include "dict.h"
#include "in.h"
#include "log.h"
#include "metadata.h"
#include "out.h"
#include "parser_data.h"
#include "parser_schema.h"
#include "printer_data.h"
#include "printer_schema.h"
#include "set.h"
#include "tree.h"
#include "tree_data.h"
#include "tree_schema.h"
Go to the source code of this file.
Macros | |
#define | ly_errcode(ctx) (ly_err_last(ctx) ? ly_err_last(ctx)->err : 0) |
#define | ly_errmsg(ctx) (ly_err_last(ctx) ? ly_err_last(ctx)->msg : NULL) |
#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) |
#define | ly_last_errmsg ly_last_logmsg |
#define | ly_strerrcode ly_strerr |
libyang v3 compatibility macros with v2. More... | |
#define | ly_vecode(ctx) (ly_err_last(ctx) ? ly_err_last(ctx)->vecode : 0) |
The main libyang public header.
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 libyang.h.
#define ly_errcode | ( | ctx | ) | (ly_err_last(ctx) ? ly_err_last(ctx)->err : 0) |
#define ly_errmsg | ( | ctx | ) | (ly_err_last(ctx) ? ly_err_last(ctx)->msg : NULL) |
#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) |
#define ly_last_errmsg ly_last_logmsg |
#define ly_strerrcode ly_strerr |
#define ly_vecode | ( | ctx | ) | (ly_err_last(ctx) ? ly_err_last(ctx)->vecode : 0) |