This file is indexed.

/usr/include/omhacks/led.h is in libomhacks-dev 0.16-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
#ifndef OMHACKS_LED_H
#define OMHACKS_LED_H

/*
 * omhacks - Various useful utility functions for the FreeRunner
 *
 * Copyright (C) 2009  Enrico Zini <enrico@enricozini.org>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

/* Led status information */
struct om_led
{
	char name[255];		// Led name
	char* dir;		// Cached led dir name
	int dir_len;		// Cached length of dir string
	int brightness; 	// 0 if off
	char trigger[255];	// Trigger name
	int delay_on;		// 0 if not blinking
	int delay_off;		// 0 if not blinking
};

/* Initialise an om_led structure */
int om_led_init(struct om_led* led, const char* name);

/* Initialise an om_led structure with the contents of another one */
int om_led_init_copy(struct om_led* dstled, const struct om_led* srcled);

/* Read led status */
int om_led_get(struct om_led* led);

/* Set led status */
int om_led_set(struct om_led* led);

#endif