This file is indexed.

/usr/include/libAfterImage/bmp.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
75
76
77
78
79
80
81
#ifndef BMP_H_HEADER_INCLUDED
#define BMP_H_HEADER_INCLUDED

#include "asimage.h"
#ifdef __cplusplus
extern "C" {
#endif

#define BMP_SIGNATURE		0x4D42             /* "BM" */

#if defined(_WIN32) && !defined(_WINGDI_)
#include <windows.h>
#endif

#ifndef _WINGDI_

typedef struct tagRGBQUAD { /* rgbq */ 
    CARD8    rgbBlue; 
    CARD8    rgbGreen; 
    CARD8    rgbRed; 
    CARD8    rgbReserved; 
} RGBQUAD; 

typedef struct tagBITMAPFILEHEADER {
	CARD16  bfType;
    CARD32  bfSize;
    CARD16  bfReserved1;
    CARD16  bfReserved2;
    CARD32  bfOffBits;
} BITMAPFILEHEADER;

typedef struct tagBITMAPINFOHEADER
{
	CARD32 biSize;
	CARD32 biWidth,  biHeight;
	CARD16 biPlanes, biBitCount;
	CARD32 biCompression;
	CARD32 biSizeImage;
	CARD32 biXPelsPerMeter, biYPelsPerMeter;
	CARD32 biClrUsed, biClrImportant;
}BITMAPINFOHEADER;

typedef struct tagBITMAPINFO { /* bmi */ 
    BITMAPINFOHEADER bmiHeader; 
    RGBQUAD          bmiColors[1]; 
} BITMAPINFO; 

#endif

#ifndef BI_RGB     
#define BI_RGB        0L
#endif


void 
dib_data_to_scanline( ASScanline *buf, 
                      BITMAPINFOHEADER *bmp_info, CARD8 *gamma_table, 
					  CARD8 *data, CARD8 *cmap, int cmap_entry_size); 

BITMAPINFO *
ASImage2DIB( ASVisual *asv, ASImage *im, 
		      int offset_x, int offset_y,
			   unsigned int to_width,
			   unsigned int to_height,
  			   void **pBits, int mask );
/* fixing a typo : */
#define ASImage2DBI ASImage2DIB

/* DIB colormap and data should follow the header as a continuous 
 * memory block !*/
ASImage *DIB2ASImage(BITMAPINFO *bmp_info, int compression);

ASImage      *
bitmap2asimage (unsigned char *xim, int width, int height,
                unsigned int compression, unsigned char *mask);

#ifdef __cplusplus
}
#endif

#endif