This file is indexed.

/usr/include/lct/utils.h is in console-tools-dev 1:0.2.3dbs-65.1ubuntu2.

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

#include <stdio.h>
#include <linux/kd.h>
#include <lct/unicode.h>

struct magic
{
  int id;
  char* magic;
  char* mask;
  size_t length;
};

struct magicset
{
  size_t max_length_hint;
  const struct magic* m;
};

/* special magic_IDs */
#define FF_END		 0	/* array terminator */
#define FF_UNKNOWN	-1	/* magic == mask == NULL - unidentified (used as default) */
#define FF_HINTS	-2	/* magic == max length for magic and mask in following array
				 * mask == ignored */

FILE *findfile_simple(const char *fnam, const char **dirpath, const char **suffixes);

FILE* findfile(const char *fnam, const char **dirpath, const char **suffixes,
	       char *fullname, size_t maxfullength, FILE* minus_meaning,
	       const struct magicset * magics, int* magic_return);

/* low-level wrappers around findfile() */
#define FINDFONT_WRAPPER_HEADER(NAME) \
FILE* find ## NAME(const char *fnam, char *fullname, size_t maxfullength, \
                   FILE* minus_meaning, int* magic_return)

FINDFONT_WRAPPER_HEADER(font);
FINDFONT_WRAPPER_HEADER(acm);
FINDFONT_WRAPPER_HEADER(sfm);
FINDFONT_WRAPPER_HEADER(sfmfallback);
FINDFONT_WRAPPER_HEADER(keymap);
FINDFONT_WRAPPER_HEADER(videomode);

/* from x*.c */
int xfseek (FILE *stream, long offset, int whence);
FILE *xfopen (const char *path, const char *mode, FILE* minus_meaning);

/* from sfm-utils.c */
unicode sgetunicode(char **p0);
void unimapdesc_addpair(int fp, unicode un, struct unimapdesc *list, int *listsz);
void unimapdesc_adjust(struct unimapdesc* list);

/* sfm-fallback */
int sfm_fallback_read (FILE* f, unicode** *sfmf, unsigned *size);
int sfm_fallback_add (unicode** sfmf, unsigned size,
		      struct unimapdesc* ilist,
		      struct unimapdesc* olist);

/* miscutils.c */
typedef void (*UsageFunc) (char *progname);

void simple_options(int argc, char **argv, UsageFunc usage, char *progname);
char* strip_path (const char* name);
void version(char* progname);
void* xmalloc(size_t n);
char* xstrdup(char *p);

#endif /* _LCT_UTILS_H */