This file is indexed.

/usr/include/openhpi/sahpiatca_enum_utils.h is in libopenhpi-dev 3.6.1-3.1build1.

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
/*      -*- linux-c -*-
 *
 * (C) Copyright IBM Corp. 2004
 *
 * 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.  This
 * file and program are licensed under a BSD style license.  See
 * the Copying file included with the OpenHPI distribution for
 * full licensing terms.
 *
 * Author(s):
 *      Steve Sherman <stevees@us.ibm.com> 
 */

/******************************************************************* 
 * WARNING! This file is auto-magically generated by:
 *          ./SaHpi2code.pl. 
 *          Do not change this file manually. Update script instead
 *******************************************************************/

#ifndef __SAHPIATCA_ENUM_UTILS_H
#define __SAHPIATCA_ENUM_UTILS_H

#ifndef __OH_UTILS_H
#warning *** Include oh_utils.h instead of individual utility header files ***
#endif

#ifdef __cplusplus
extern "C" {
#endif 

#define OH_MAX_ATCAHPILEDCOLOR 9 
extern struct oh_atcahpiledcolor_map {
  AtcaHpiLedColorT  entity_type;
  char *str;
} atcahpiledcolor_strings[OH_MAX_ATCAHPILEDCOLOR];

char * oh_lookup_atcahpiledcolor(AtcaHpiLedColorT value);
SaErrorT oh_encode_atcahpiledcolor(SaHpiTextBufferT *buffer, AtcaHpiLedColorT *type);

#define OH_MAX_ATCAHPIRESOURCELEDMODE 3 
extern struct oh_atcahpiresourceledmode_map {
  AtcaHpiResourceLedModeT  entity_type;
  char *str;
} atcahpiresourceledmode_strings[OH_MAX_ATCAHPIRESOURCELEDMODE];

char * oh_lookup_atcahpiresourceledmode(AtcaHpiResourceLedModeT value);
SaErrorT oh_encode_atcahpiresourceledmode(SaHpiTextBufferT *buffer, AtcaHpiResourceLedModeT *type);

#define OH_MAX_ATCAHPILEDBRSUPPORT 3 
extern struct oh_atcahpiledbrsupport_map {
  AtcaHpiLedBrSupportT  entity_type;
  char *str;
} atcahpiledbrsupport_strings[OH_MAX_ATCAHPILEDBRSUPPORT];

char * oh_lookup_atcahpiledbrsupport(AtcaHpiLedBrSupportT value);
SaErrorT oh_encode_atcahpiledbrsupport(SaHpiTextBufferT *buffer, AtcaHpiLedBrSupportT *type);

#define OH_MAX_ATCAHPIENTITYTYPE 13 
extern struct oh_atcahpientitytype_map {
  AtcaHpiEntityTypeT  entity_type;
  char *str;
} atcahpientitytype_strings[OH_MAX_ATCAHPIENTITYTYPE];

char * oh_lookup_atcahpientitytype(AtcaHpiEntityTypeT value);
SaErrorT oh_encode_atcahpientitytype(SaHpiTextBufferT *buffer, AtcaHpiEntityTypeT *type);


#ifdef __cplusplus
}
#endif

#endif