This file is indexed.

/usr/include/oif/frame_internal.h is in libframe-dev 2.5.0-3.

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
/*****************************************************************************
 *
 * frame - Touch Frame Library
 *
 * Copyright (C) 2010-2012 Canonical Ltd.
 *
 * This library is free software: you can redistribute it and/or modify it 
 * under the terms of the GNU Lesser General Public License version 3
 * as published by the Free Software Foundation.
 *
 * This library is distributed in the hope that it will be useful, but 
 * WITHOUT ANY WARRANTY; without even the implied warranties of 
 * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR 
 * PURPOSE.  See the GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this library.  If not, see <http://www.gnu.org/licenses/>.
 *
 ****************************************************************************/

#ifndef FRAME_OIF_FRAME_INTERNAL_H_
#define FRAME_OIF_FRAME_INTERNAL_H_

#ifdef HAS_C_GENERIC_SELECTIONS

#include <stdint.h>

FRAME_PUBLIC
UFStatus frame_device_get_property_string_(UFDevice device,
                                           UFDeviceProperty property,
                                           char **value);
FRAME_PUBLIC
UFStatus frame_device_get_property_int_(UFDevice device,
                                        UFDeviceProperty property, int *value);
FRAME_PUBLIC
UFStatus frame_device_get_property_unsigned_int_(UFDevice device,
                                                 UFDeviceProperty property,
                                                 unsigned int *value);

#define frame_device_get_property(device, property, value) \
    _Generic((value), \
             char **: frame_device_get_property_string_, \
             int *: frame_device_get_property_int_, \
             unsigned int *: frame_device_get_property_unsigned_int_) ((device), \
                                                                       (property), \
                                                                       (value))

FRAME_PUBLIC
UFStatus frame_event_get_property_type_(UFEvent event, UFEventProperty property,
                                        UFEventType *value);
FRAME_PUBLIC
UFStatus frame_event_get_property_device_(UFEvent event,
                                          UFEventProperty property,
                                          UFDevice *value);
FRAME_PUBLIC
UFStatus frame_event_get_property_frame_(UFEvent event,
                                         UFEventProperty property,
                                         UFFrame *value);
FRAME_PUBLIC
UFStatus frame_event_get_property_uint64_(UFEvent event,
                                          UFEventProperty property,
                                          uint64_t *value);

#define frame_event_get_property(event, property, value) \
    _Generic((value), \
             UFEventType *: frame_event_get_property_type_, \
             UFDevice *: frame_event_get_property_device_, \
             UFFrame *: frame_event_get_property_frame_, \
             uint64_t *: frame_event_get_property_uint64_) ((event), \
                                                            (property), (value))

FRAME_PUBLIC
UFStatus frame_frame_get_property_device_(UFFrame frame,
                                          UFFrameProperty property,
                                          UFDevice *value);
FRAME_PUBLIC
UFStatus frame_frame_get_property_uint64_(UFFrame frame,
                                          UFFrameProperty property,
                                          uint64_t *value);
FRAME_PUBLIC
UFStatus frame_frame_get_property_unsigned_int_(UFFrame frame,
                                                UFFrameProperty property,
                                                unsigned int *value);

#define frame_frame_get_property(frame, property, value) \
    _Generic((value), \
             UFDevice *: frame_frame_get_property_device_, \
             uint64_t *: frame_frame_get_property_window_id_, \
             unsigned int *: frame_frame_get_property_unsigned_int_) ( \
                 (frame), \
                 (property), \
                 (value))

FRAME_PUBLIC
UFStatus frame_touch_get_property_uint64_(UFTouch touch,
                                          UFTouchProperty property,
                                          uint64_t *value);
FRAME_PUBLIC
UFStatus frame_touch_get_property_state_(UFTouch touch,
                                         UFTouchProperty property,
                                         UFTouchState *value);
FRAME_PUBLIC
UFStatus frame_touch_get_property_float_(UFTouch touch,
                                         UFTouchProperty property,
                                         float *value);
FRAME_PUBLIC
UFStatus frame_touch_get_property_int_(UFTouch touch, UFTouchProperty property,
                                       int *value);

#define frame_touch_get_property(touch, property, value) \
    _Generic((value), \
             uint64_t *: frame_touch_get_property_uint64_, \
             UFTouchState *: frame_touch_get_property_state_, \
             float *: frame_touch_get_property_float_, \
             int *: frame_touch_get_property_int_) ((touch), (property), \
                                                    (value))

#endif // HAS_C_GENERIC_SELECTIONS

#endif // FRAME_OIF_FRAME_INTERNAL_H_