This file is indexed.

/usr/include/bobcat/onekey is in libbobcat-dev 4.08.02-2build1.

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

#include <termios.h>

namespace FBB
{

class OneKey
{
    termios     d_saved;
    bool        d_useEcho;          // default false

    public:
        enum Mode
        {
            OFF,      
            ON      
        };

        explicit OneKey(Mode state = OFF);    

        ~OneKey();

        int get() const;                // get the next char
        void setEcho(Mode state);                                   // .f

        void verify() const;            // kept for backward compat.

    private:
        OneKey(OneKey const &other) = delete;
        OneKey const &operator=(OneKey const &other) = delete;

};

inline void OneKey::setEcho(Mode state)
{
    d_useEcho = (state == ON);
}

} // FBB

#endif