/usr/include/SoapySDR/Version.h is in libsoapysdr-dev 0.6.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 | ///
/// \file SoapySDR/Version.h
///
/// Utility functions to query version information.
///
/// \copyright
/// Copyright (c) 2014-2017 Josh Blum
/// Copyright (c) 2016-2016 Bastille Networks
/// SPDX-License-Identifier: BSL-1.0
///
#pragma once
#include <SoapySDR/Config.h>
/*!
* API version number which can be used as a preprocessor check.
* The format of the version number is encoded as follows:
* <b>(major << 24) | (minor << 16) | (16 bit increment)</b>.
* Where the increment can be used to indicate implementation
* changes, fixes, or API additions within a minor release series.
*
* The macro is typically used in an application as follows:
* \code
* #if defined(SOAPY_SDR_API_VERSION) && (SOAPY_SDR_API_VERSION >= 0x00001234)
* // Use a newer feature from the SoapySDR library API
* #endif
* \endcode
*/
#define SOAPY_SDR_API_VERSION 0x00060000
/*!
* ABI Version Information - incremented when the ABI is changed.
* The ABI version format is <b>version[-extra]</b>.
* The <i>version</i> comes from the associated library major.minor version.
* And <i>extra</i> is empty for releases but set on development branches.
* The ABI should remain constant across patch releases of the library.
*/
#define SOAPY_SDR_ABI_VERSION "0.6"
/*!
* Compatibility define for GPIO access API with masks
*/
#define SOAPY_SDR_API_HAS_MASKED_GPIO
/*!
* Compatibility define for channel sensors access API
*/
#define SOAPY_SDR_API_HAS_CHANNEL_SENSORS
/*!
* Compatibility define for error to string function
*/
#define SOAPY_SDR_API_HAS_ERR_TO_STR
/*!
* Compatibility define for corrections support checks
*/
#define SOAPY_SDR_API_HAS_CORRECTIONS_QUERY
/*!
* Compatibility define for clock rates query API
*/
#define SOAPY_SDR_API_HAS_CLOCK_RATES_QUERY
/*!
* Compatibility define for AGC support check
*/
#define SOAPY_SDR_API_HAS_AGC_MODE_QUERY
/*!
* Compatibility define for querying stream argument info
*/
#define SOAPY_SDR_API_HAS_STREAM_ARG_INFO
/*!
* Compatibility define for querying setting argument info
*/
#define SOAPY_SDR_API_HAS_SETTING_ARG_INFO
/*!
* Compatibility define for querying sensor info API
*/
#define SOAPY_SDR_API_HAS_QUERY_SENSOR_INFO
/*!
* Compatibility define for querying tune args info
*/
#define SOAPY_SDR_API_HAS_QUERY_TUNE_ARG_INFO
/*!
* Compatibility define for querying native stream format
*/
#define SOAPY_SDR_API_HAS_NATIVE_STREAM_FORMAT
/*!
* Compatibility define for setting the log level
*/
#define SOAPY_SDR_API_HAS_SET_LOG_LEVEL
/*!
* Compatibility define for format header and defines
*/
#define SOAPY_SDR_API_HAS_FORMAT_DEFINES
/*!
* Compatibility define for arbitrary channel settings
*/
#define SOAPY_SDR_API_HAS_CHANNEL_SETTINGS
/*!
* Compatibility define for get bandwidth range API
*/
#define SOAPY_SDR_API_HAS_GET_BANDWIDTH_RANGE
/*!
* Compatibility define for get channel info API
*/
#define SOAPY_SDR_API_HAS_GET_CHANNEL_INFO
/*!
* Compatibility define for named register interface API
*/
#define SOAPY_SDR_API_HAS_NAMED_REGISTER_API
/*!
* Compatibility define for named memory block interface API
*/
#define SOAPY_SDR_API_HAS_NAMED_REGISTERS_API
/*!
* Compatibility define for step field in range type
*/
#define SOAPY_SDR_API_HAS_RANGE_TYPE_STEP
/*!
* Compatibility define for get sample rate range API
*/
#define SOAPY_SDR_API_HAS_GET_SAMPLE_RATE_RANGE
/*!
* Compatibility define for frequency correction API
*/
#define SOAPY_SDR_API_HAS_FREQUENCY_CORRECTION_API
#ifdef __cplusplus
extern "C" {
#endif
/*!
* Get the SoapySDR library API version as a string.
* The format of the version string is <b>major.minor.increment</b>,
* where the digits are taken directly from <b>SOAPY_SDR_API_VERSION</b>.
*/
SOAPY_SDR_API const char *SoapySDR_getAPIVersion(void);
/*!
* Get the ABI version string that the library was built against.
* A client can compare <b>SOAPY_SDR_ABI_VERSION</b> to getABIVersion()
* to check for ABI incompatibility before using the library.
* If the values are not equal then the client code was
* compiled against a different ABI than the library.
*/
SOAPY_SDR_API const char *SoapySDR_getABIVersion(void);
/*!
* Get the library version and build information string.
* The format of the version string is <b>major.minor.patch-buildInfo</b>.
* This function is commonly used to identify the software back-end
* to the user for command-line utilities and graphical applications.
*/
SOAPY_SDR_API const char *SoapySDR_getLibVersion(void);
#ifdef __cplusplus
}
#endif
|