This file is indexed.

/usr/include/lirc/transmit.h is in liblirc-dev 0.10.0-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
69
70
/****************************************************************************
** transmit.h **************************************************************
****************************************************************************/
/**
 * @file transmit.h
 * @brief Functions that prepare IR codes for transmitting
 * @author Christoph Bartelmus
 * @ingroup driver_api
 *
 * Operations in this module applies to the transmit buffer. The buffer
 * is initiated using send_buffer_init(), filled with data using send_buffer_put()
 * and accessed using  send_buffer_data() and send_buffer_length().
 *
 * A prepared buffer contains an even number of unsigned ints, each of
 * which representing a pulse width in microseconds. The first item represents
 * a pulse and the last thus a space.
 *
 * Copyright (C) 1999 Christoph Bartelmus <lirc@bartelmus.de>
 *
 * @addtogroup driver_api
 * @{
 */



#ifndef _TRANSMIT_H
#define _TRANSMIT_H

#include "ir_remote.h"

#ifdef __cplusplus
extern "C" {
#endif

#define WBUF_SIZE 256

/** Clear and re-initiate the buffer. */
void send_buffer_init(void);

/**
 * Initializes the global send buffer for transmitting the code in
 * the second argument, residing in the remote in the first.
 * @param remote ir_remote containing code to send.
 * @param code ir_ncode to send.
 * @return 0 on failures, else 1.
 */
int send_buffer_put(struct ir_remote* remote, struct ir_ncode* code);

/** @cond */
int init_sim(struct ir_remote*	remote,
	     struct ir_ncode*	code,
	     int		repeat_preset);
/** @endcond */

/** @return Number of items accessible in array send_buffer_data(). */
int send_buffer_length(void);

/** @return Pointer to timing data in microseconds for pulses/spaces. */
const lirc_t* send_buffer_data(void);

/** @return Total length of send buffer in microseconds. */
lirc_t send_buffer_sum(void);

/** @} */

#ifdef __cplusplus
}
#endif

#endif