This file is indexed.

/usr/include/ixp_srvutil.h is in libixp-dev 0.6~20121202+hg148-2+b1.

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
typedef struct IxpDirtab	IxpDirtab;
typedef struct IxpFileId	IxpFileId;
typedef struct IxpPendingLink	IxpPendingLink;
typedef struct IxpPending	IxpPending;
typedef struct IxpQueue		IxpQueue;
typedef struct IxpRequestLink	IxpRequestLink;

typedef IxpFileId* (*IxpLookupFn)(IxpFileId*, char*);

struct IxpPendingLink {
	/* Private members */
	IxpPendingLink*	next;
	IxpPendingLink*	prev;
	IxpFid*		fid;
	IxpQueue*	queue;
	IxpPending*	pending;
};

struct IxpRequestLink {
	/* Private members */
	IxpRequestLink*	next;
	IxpRequestLink*	prev;
	Ixp9Req*	req;
};

struct IxpPending {
	/* Private members */
	IxpRequestLink	req;
	IxpPendingLink	fids;
};

struct IxpDirtab {
	char*	name;
	uint8_t	qtype;
	uint	type;
	uint	perm;
	uint	flags;
};

struct IxpFileId {
	IxpFileId*	next;
	IxpFileIdU	p;
	bool		pending;
	uint		id;
	uint		index;
	IxpDirtab	tab;
	uint		nref;
	char		volatil;
};

enum {
	FLHide = 1,
};

bool	ixp_pending_clunk(Ixp9Req*);
void	ixp_pending_flush(Ixp9Req*);
int	ixp_pending_print(IxpPending*, const char*, ...);
void	ixp_pending_pushfid(IxpPending*, IxpFid*);
void	ixp_pending_respond(Ixp9Req*);
int	ixp_pending_vprint(IxpPending*, const char*, va_list ap);
void	ixp_pending_write(IxpPending*, const char*, long);
IxpFileId*	ixp_srv_clonefiles(IxpFileId*);
void	ixp_srv_data2cstring(Ixp9Req*);
void	ixp_srv_freefile(IxpFileId*);
void	ixp_srv_readbuf(Ixp9Req*, char*, uint);
void	ixp_srv_readdir(Ixp9Req*, IxpLookupFn, void (*)(IxpStat*, IxpFileId*));
bool	ixp_srv_verifyfile(IxpFileId*, IxpLookupFn);
void	ixp_srv_walkandclone(Ixp9Req*, IxpLookupFn);
void	ixp_srv_writebuf(Ixp9Req*, char**, uint*, uint);
char*	ixp_srv_writectl(Ixp9Req*, char* (*)(void*, IxpMsg*));
IxpFileId* ixp_srv_getfile(void);