#pragma once

#define LIBOSMO_ASN1_TCAP_VERSION 0.2.1
#define LIBOSMO_ASN1_TCAP_VERSION_STR "0.2.1"

#define LIBOSMO_ASN1_TCAP_VERSION_MAJOR 0
#define LIBOSMO_ASN1_TCAP_VERSION_MINOR 2
#define LIBOSMO_ASN1_TCAP_VERSION_PATCH 1

#define LIBOSMO_ASN1_TCAP_VERSION_GREATER_EQUAL(major, minor, patch) \
	(LIBOSMO_ASN1_TCAP_VERSION_MAJOR > (major) || \
	 (LIBOSMO_ASN1_TCAP_VERSION_MAJOR == (major) && \
	  LIBOSMO_ASN1_TCAP_VERSION_MINOR > (minor)) || \
	 (LIBOSMO_ASN1_TCAP_VERSION_MAJOR == (major) && \
	  LIBOSMO_ASN1_TCAP_VERSION_MINOR == (minor) && \
	  LIBOSMO_ASN1_TCAP_VERSION_PATCH >= (patch)))
