blob: b1b7387107772b5cc25129aede00a2c5edcbdb65 [file] [log] [blame]
Radek Krejci2c22f122018-09-05 15:08:03 +02001/**
Michal Vaskoc5a22832020-08-20 13:21:33 +02002 * @file version.h
Radek Krejci2c22f122018-09-05 15:08:03 +02003 * @author Radek Krejci <rkrejci@cesnet.cz>
Michal Vaskoc5a22832020-08-20 13:21:33 +02004 * @brief libyang version definitions
Radek Krejci2c22f122018-09-05 15:08:03 +02005 *
Michal Vaskoc5a22832020-08-20 13:21:33 +02006 * Copyright (c) 2020 CESNET, z.s.p.o.
Radek Krejci2c22f122018-09-05 15:08:03 +02007 *
8 * This source code is licensed under BSD 3-Clause License (the "License").
9 * You may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
11 *
12 * https://opensource.org/licenses/BSD-3-Clause
13 */
14
Michal Vaskoc5a22832020-08-20 13:21:33 +020015#ifndef LY_VERSION_H_
16#define LY_VERSION_H_
Radek Krejci2c22f122018-09-05 15:08:03 +020017
Radek Krejcia43d69d2019-04-04 10:34:46 +020018#define LY_VERSION_MAJOR @LIBYANG_MAJOR_SOVERSION@ /**< libyang major version number */
19#define LY_VERSION_MINOR @LIBYANG_MINOR_SOVERSION@ /**< libyang minor version number */
20#define LY_VERSION_MICRO @LIBYANG_MICRO_SOVERSION@ /**< libyang micro version number */
21#define LY_VERSION "@LIBYANG_SOVERSION_FULL@" /**< libyang version string */
Radek Krejci2c22f122018-09-05 15:08:03 +020022
David Schweizerc5996da2024-06-26 10:52:20 +020023#define LY_PROJ_VERSION_MAJOR @LIBYANG_MAJOR_VERSION@ /**< project major version number */
24#define LY_PROJ_VERSION_MINOR @LIBYANG_MINOR_VERSION@ /**< project minor version number */
25#define LY_PROJ_VERSION_MICRO @LIBYANG_MICRO_VERSION@ /**< project micro version number */
26#define LY_PROJ_VERSION "@LIBYANG_VERSION@" /**< project version string */
27
Michal Vaskoc5a22832020-08-20 13:21:33 +020028#endif /* LY_VERSION_H_ */