This file is indexed.

/usr/include/SoapySDR/Errors.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
///
/// \file SoapySDR/Errors.h
///
/// Error codes used in the device API.
///
/// \copyright
/// Copyright (c) 2014-2015 Josh Blum
/// SPDX-License-Identifier: BSL-1.0
///

#pragma once
#include <SoapySDR/Config.h>

#ifdef __cplusplus
extern "C" {
#endif

/*!
 * Convert a error code to a string for printing purposes.
 * If the error code is unrecognized, errToStr returns "UNKNOWN".
 * \param errorCode a negative integer return code
 * \return a pointer to a string representing the error
 */
SOAPY_SDR_API const char *SoapySDR_errToStr(const int errorCode);

#ifdef __cplusplus
}
#endif

/*!
 * Returned when read has a timeout.
 */
#define SOAPY_SDR_TIMEOUT (-1)

/*!
 * Returned for non-specific stream errors.
 */
#define SOAPY_SDR_STREAM_ERROR (-2)

/*!
 * Returned when read has data corruption.
 * For example, the driver saw a malformed packet.
 */
#define SOAPY_SDR_CORRUPTION (-3)

/*!
 * Returned when read has an overflow condition.
 * For example, and internal buffer has filled.
 */
#define SOAPY_SDR_OVERFLOW (-4)

/*!
 * Returned when a requested operation or flag setting
 * is not supported by the underlying implementation.
 */
#define SOAPY_SDR_NOT_SUPPORTED (-5)

/*!
 * Returned when a the device encountered a stream time
 * which was expired (late) or too early to process.
 */
#define SOAPY_SDR_TIME_ERROR (-6)

/*!
 * Returned when write caused an underflow condition.
 * For example, a continuous stream was interrupted.
 */
#define SOAPY_SDR_UNDERFLOW (-7)