/usr/include/boinc/api/tgalib.h is in boinc-dev 7.0.24+dfsg-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 | #ifndef TGALIB_H
#define TGALIB_H
#include <windows.h>
#include <cstdio>
#define TGA_RGB 2 // This tells us it's a normal RGB (really BGR) file
#define TGA_A 3 // This tells us it's a ALPHA file
#define TGA_RLE 10 // This tells us that the targa is Run-Length Encoded (RLE)
struct tImageTGA
{
int channels; // The channels in the image (3 = RGB : 4 = RGBA)
int sizeX; // The width of the image in pixels
int sizeY; // The height of the image in pixels
unsigned char *data; // The image pixel data
};
tImageTGA *LoadTGA(const char *filename);
#endif
|