This file is indexed.

/usr/include/bobcat/localsocketbase is in libbobcat-dev 4.01.03-2ubuntu1.

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
#ifndef INCLUDED_BOBCAT_LOCALSOCKETBASE_
#define INCLUDED_BOBCAT_LOCALSOCKETBASE_

#include <sys/un.h>
#include <string>
#include <sys/socket.h>

namespace FBB
{

class LocalSocketBase
{
    size_t              d_length;
    int                 d_socket;
    struct sockaddr_un  d_address;

    protected:
        LocalSocketBase();                                      // 1
        explicit LocalSocketBase(std::string const &name);      // 1.f

        void open(std::string const &name);
        int socket() const;                                     // .f
        size_t size() const;                                    // .f
        sockaddr const *sockaddrPtr() const;                    // .f
};

inline LocalSocketBase::LocalSocketBase(std::string const &name)
{
    open(name);
}

inline size_t LocalSocketBase::size() const
{
    return d_length;
}
inline sockaddr const *LocalSocketBase::sockaddrPtr() const
{
    return reinterpret_cast<sockaddr const *>(&d_address);
}
inline int LocalSocketBase::socket() const
{
    return d_socket;
}

} // FBB

#endif