libosmo-netif: include/osmocom/netif/version.h Source File

libosmo-netif 1.7.0.15-fe2d Osmocom network interface library

version.h
1#pragma once
2
3#define LIBOSMO_NETIF_VERSION 1.7.0
4#define LIBOSMO_NETIF_VERSION_STR "1.7.0"
5
6#define LIBOSMO_NETIF_VERSION_MAJOR 1
7#define LIBOSMO_NETIF_VERSION_MINOR 7
8#define LIBOSMO_NETIF_VERSION_PATCH 0
9
10#define LIBOSMO_NETIF_VERSION_GREATER_EQUAL(major, minor, patch) \
11 (LIBOSMO_NETIF_VERSION_MAJOR > (major) || \
12 (LIBOSMO_NETIF_VERSION_MAJOR == (major) && \
13 LIBOSMO_NETIF_VERSION_MINOR > (minor)) || \
14 (LIBOSMO_NETIF_VERSION_MAJOR == (major) && \
15 LIBOSMO_NETIF_VERSION_MINOR == (minor) && \
16 LIBOSMO_NETIF_VERSION_PATCH >= (patch)))