/** * * \section COPYRIGHT * * Copyright 2013-2020 Software Radio Systems Limited * * By using this file, you agree to the terms and conditions set * forth in the LICENSE file which can be found at the top level of * the distribution. * */ #ifndef SRSLTE_VERSION_H_IN #define SRSLTE_VERSION_H_IN // the configured options and settings for SRSLTE #define SRSLTE_VERSION_MAJOR @SRSLTE_VERSION_MAJOR@ #define SRSLTE_VERSION_MINOR @SRSLTE_VERSION_MINOR@ #define SRSLTE_VERSION_PATCH @SRSLTE_VERSION_PATCH@ #define SRSLTE_VERSION_STRING "@SRSLTE_VERSION_STRING@" #define SRSLTE_VERSION_ENCODE(major, minor, patch) ( \ ((major) * 10000) \ + ((minor) * 100) \ + ((patch) * 1)) #define SRSLTE_VERSION SRSLTE_VERSION_ENCODE( \ SRSLTE_VERSION_MAJOR, \ SRSLTE_VERSION_MINOR, \ SRSLTE_VERSION_PATCH) #define SRSLTE_VERSION_CHECK(major,minor,patch) \ (SRSLTE_VERSION >= SRSLTE_VERSION_ENCODE(major,minor,patch)) #include "srslte/config.h" SRSLTE_API char* srslte_get_version(); SRSLTE_API int srslte_get_version_major(); SRSLTE_API int srslte_get_version_minor(); SRSLTE_API int srslte_get_version_patch(); SRSLTE_API int srslte_check_version(int major, int minor, int patch); #endif // VERSION_