This file is indexed.

/usr/include/singular/resources/feResource.h is in libsingular4-dev-common 1:4.0.3-p3+ds-5.

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

#include <sys/param.h>

#define DIR_SEP '/'
#define DIR_SEPP "/"

#ifndef MAXPATHLEN
#define MAXPATHLEN 1024
#endif

#ifdef __cplusplus
/*****************************************************************
 *
 * Resource management (feResources.cc)
 *
 *****************************************************************/
typedef enum {feResUndef = 0, feResBinary, feResDir, feResFile, feResUrl, feResPath} feResourceType;

typedef struct feResourceConfig_s
{
  const char*           key;   // key to identify resource
  const char            id;    // char id to identify resource
  feResourceType  type;  // type of Resource
  const char*           env;   // env variable to look for
  const char*           fmt;   // format string -- see below for epxlaination
  char*                 value; // what it was set to: may be changed
} feResourceConfig_s;
typedef feResourceConfig_s * feResourceConfig;

extern feResourceConfig_s feResourceConfigs[];

// returns value of Resource as read-only string, or NULL
// if Resource not found
// issues warning, if explicitely requested (warn > 0), or
// if warn < 0 and Resource is gotten for the first time
// Always quiet if warn == 0
char* feResource(const char id, int warn = -1);
char* feResource(const char* key, int warn = -1);

char* feGetResource(const char id, int warn = -1);

// char* feResourceDefault(const char id);
// char* feResourceDefault(const char* key);


// This needs to be called before the first call to feResource
// Initializes Resources, SearchPath, and extends PATH
void feInitResources(const char* argv0);
// Re-inits resources, should be called after changing env. variables
void feReInitResources();
#endif /* end ifdef __cplusplus */

extern char* feArgv0;

const char fePathSep = ':' ;

#endif