This file is indexed.

/usr/include/libfenced.h is in libfence-dev 3.1.8-1.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
/*
 * libfenced is a private library.
 *
 * If you think this library is installed on your cluster, you are wrong.
 * You have never seen it, it doesn't exist, you'll never talk about it
 * or ponder to use it.
 *
 * "You've got a nice noun there.
 *  It'd be a shame if anything were to ... happen to it."
 *
 * The Godfather (aka fabbione)
 */

#ifndef _LIBFENCED_H_
#define _LIBFENCED_H_

#define FENCED_DUMP_SIZE (1024 * 1024)

/* for querying local node info */
#define FENCED_NODEID_US 0

struct fenced_node {
	int nodeid;
	int member;
	int victim;
	int last_fenced_master;
	int last_fenced_how;
	uint64_t last_fenced_time;
};

struct fenced_domain {
	int group_mode;
	int member_count;
	int victim_count;
	int master_nodeid;
	int current_victim;
	int state;
};

/* fenced_domain_nodes() types */
#define FENCED_NODES_ALL	1
#define FENCED_NODES_MEMBERS	2
#define FENCED_NODES_VICTIMS	3

int fenced_join(void);
int fenced_leave(void);
int fenced_dump_debug(char *buf);
int fenced_external(char *name);
int fenced_node_info(int nodeid, struct fenced_node *node);
int fenced_domain_info(struct fenced_domain *domain);
int fenced_domain_nodes(int type, int max, int *count, struct fenced_node *nodes);

#endif