This file is indexed.

/usr/include/lime/ConnectionHandle.h is in liblimesuite-dev 16.12.0+dfsg-1.

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
/**
    @file ConnectionHandle.h
    @author Lime Microsystems
    @brief Represent a connection to a device
*/

#pragma once

#include <LimeSuiteConfig.h>
#include <string>

namespace lime{
/*!
 * A connection handle identifies a particular connection.
 * Handles are used by the connection registry to return
 * enumeration results and to instantiate connections.
 *
 * When using ConnectionHandle to specify an enumeration hint,
 * simply fill in only the fields that the user is interested in.
 * Each default field (empty string, -1 index) will be ignored
 * by the connection registry entry discovery implementation.
 */
class LIME_API ConnectionHandle
{
public:

    ConnectionHandle(void);

    //! Create from serialized string with key=value pairs
    ConnectionHandle(const std::string &args);

    /*!
     * The name of the IConnection support module.
     * Example EVB7COM, EVB7STREAM, NOVENA7.
     */
    std::string module;

    /*!
     * The connection media type.
     * Example: SPI, COM, USB.
     */
    std::string media;

    /*!
     * The name of the device. Example: STREAM, NOVENA.
     */
    std::string name;

    /*!
     * An address such a URL, IP address, or similar.
     */
    std::string addr;

    /*!
     * A serial number which is unique to a particular device.
     */
    std::string serial;

    /*!
     * An internal index which may enumerate device handles.
     */
    long long index;

    /*!
     * Serialize this connection handle into a string format.
     * This string format can be used to represent the handle.
     */
    std::string serialize(void) const;

    /*!
     * Get a displayable string for this handle.
     * @return a string that may be printed
     */
    std::string ToString(void) const;
};

}
//! Check two connection handles for equality
bool operator==(const lime::ConnectionHandle &lhs, const lime::ConnectionHandle &rhs);