This file is indexed.

/usr/include/minidjvu/base/2io.h is in libminidjvu-dev 0.8.svn.2010.05.06+dfsg-3.

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
/*
 * 2io.h - a stdio wrapper
 */


/* Under Windows there is no libc. So it may well occur that minidjvu uses one
 * stdio implementation, and an application linked against minidjvu uses another.
 * In that case we can't exchange (FILE *) pointers reliably. So here is a simple
 * stdio wrapper to allow applications invoke our stdio.
 * 
 * Also added some integer read/write functions.
 */


/* Structure MinidjvuFile is never defined.
 * Inside the minidjvu library, mdjvu_file_t is FILE *.
 */
typedef struct MinidjvuFile *mdjvu_file_t;

/* These functions just call stdio. So there's no documentation for them. */

MDJVU_FUNCTION mdjvu_file_t mdjvu_fopen(const char *path, const char *mode);
MDJVU_FUNCTION void mdjvu_fclose(mdjvu_file_t);

MDJVU_FUNCTION int32 mdjvu_fread
    (void *, int32 size, int32 n, mdjvu_file_t);
MDJVU_FUNCTION int32 mdjvu_fwrite
    (const void *, int32 size, int32 n, mdjvu_file_t);

MDJVU_FUNCTION void mdjvu_write_big_endian_int32(int32, mdjvu_file_t);
MDJVU_FUNCTION void mdjvu_write_little_endian_int32(int32, mdjvu_file_t);
MDJVU_FUNCTION int32 mdjvu_read_big_endian_int32(mdjvu_file_t);
MDJVU_FUNCTION int32 mdjvu_read_little_endian_int32(mdjvu_file_t);
MDJVU_FUNCTION void mdjvu_write_big_endian_int16(int16, mdjvu_file_t);
MDJVU_FUNCTION void mdjvu_write_little_endian_int16(int16, mdjvu_file_t);
MDJVU_FUNCTION int16 mdjvu_read_big_endian_int16(mdjvu_file_t);
MDJVU_FUNCTION int16 mdjvu_read_little_endian_int16(mdjvu_file_t);