#pragma once

#define LIBOSMO_NETIF_VERSION 1.7.0
#define LIBOSMO_NETIF_VERSION_STR "1.7.0"

#define LIBOSMO_NETIF_VERSION_MAJOR 1
#define LIBOSMO_NETIF_VERSION_MINOR 7
#define LIBOSMO_NETIF_VERSION_PATCH 0

#define LIBOSMO_NETIF_VERSION_GREATER_EQUAL(major, minor, patch) \
	(LIBOSMO_NETIF_VERSION_MAJOR > (major) || \
	 (LIBOSMO_NETIF_VERSION_MAJOR == (major) && \
	  LIBOSMO_NETIF_VERSION_MINOR > (minor)) || \
	 (LIBOSMO_NETIF_VERSION_MAJOR == (major) && \
	  LIBOSMO_NETIF_VERSION_MINOR == (minor) && \
	  LIBOSMO_NETIF_VERSION_PATCH >= (patch)))
