This file is indexed.

/usr/include/libAfterBase/fs.h is in libafterimage-dev 2.2.12-11.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
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
#ifndef FS_H_HEADER_INCLUDED
#define FS_H_HEADER_INCLUDED

#include <time.h>

#include <sys/types.h>

#if !defined(S_IFREG) || !defined(S_IFDIR)
#include <sys/stat.h>
#endif

#ifdef __cplusplus
extern "C" {
#endif

struct dirent;
struct stat;
struct direntry
  {
    mode_t d_mode;		/* S_IFDIR if a directory */
    time_t d_mtime;
	off_t  d_size;		/* total size, in bytes */
    char d_name[1];
  };

typedef int (*my_sort_f) (const struct direntry ** d1, const struct direntry ** d2);

/* sort functions to be used as dcomp parameter to my_scandir :  */
int direntry_compar_type (const struct direntry ** d1, const struct direntry ** d2);
int direntry_compar_alpha (const struct direntry ** d1, const struct direntry ** d2);
int direntry_compar_type_alpha (const struct direntry ** d1, const struct direntry ** d2);
int direntry_compar_mtime (const struct direntry ** d1, const struct direntry ** d2);
int direntry_compar_size (const struct direntry ** d1, const struct direntry ** d2);

int
my_scandir_ext ( const char *dirname, int (*filter_func) (const char *),
				 Bool (*handle_direntry_func)( const char *fname, const char *fullname, struct stat *stat_info, void *aux_data), 
				 void *aux_data);
int my_scandir (char *, struct direntry *(*[]), int (*select) (const char *), my_sort_f dcomp);

int ignore_dots (const char *dname);
int no_dots_except_include (const char *d_name);
int no_dots_except_directory (const char *d_name);


time_t  get_file_modified_time (const char *filename);
int		check_file_mode (const char *file, int mode);

#define CheckFile(f) 	check_file_mode(f,S_IFREG)
#define CheckDir(d) 	check_file_mode(d,S_IFDIR)

int     copy_file (const char *realfilename1, const char *realfilename2);
char*	load_binary_file(const char* realfilename, long *file_size_return);
char*   load_file (const char *realfilename);

/* char   *find_envvar (char *var_start, int *end_pos); */
void	replace_envvar (char **path);
char   *copy_replace_envvar (const char *path);

void	parse_file_name(const char *filename, char **path, char **file);
char   *make_file_name (const char *path, const char *file);
char   *add_file_extension (const char *file, const char *ext);

char   *put_file_home (const char *path_with_home);
char   *find_file (const char *file, const char *pathlist, int type);
int 	is_executable_in_path (const char *name);
int		get_executable_in_path (const char *name, char **fullname_return);


#ifdef __cplusplus
}
#endif

#endif