This file is indexed.

/usr/include/pgpool2/pcp.h is in libpgpool-dev 3.6.1-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
/*
 * $Header$
 *
 * pgpool: a language independent connection pool server for PostgreSQL 
 * written by Tatsuo Ishii
 *
 * Copyright (c) 2003-2016	PgPool Global Development Group
 *
 * Permission to use, copy, modify, and distribute this software and
 * its documentation for any purpose and without fee is hereby
 * granted, provided that the above copyright notice appear in all
 * copies and that both that copyright notice and this permission
 * notice appear in supporting documentation, and that the name of the
 * author not be used in advertising or publicity pertaining to
 * distribution of the software without specific, written prior
 * permission. The author makes no representations about the
 * suitability of this software for any purpose.  It is provided "as
 * is" without express or implied warranty.
 *
 *
 * pcp.h - master header file.
 */

#ifndef PCP_H
#define PCP_H

#include "pool_type.h"
#include "pool_config.h"


#define MAX_USER_PASSWD_LEN    128
/* The largest PCP packet a PCP frontend can send is
 * the user authentication packet, and the maximum size
 * of the PCP authentication packet can be
 * MAX_USER_PASSWD_LEN + MAX_USER_PASSWD_LEN + SIZE OF INT */
#define MAX_PCP_PACKET_LENGTH	260

typedef struct PCPWDNodeInfo
{
	int state;
	char nodeName[WD_MAX_HOST_NAMELEN];
	char hostName[WD_MAX_HOST_NAMELEN];		/* host name */
	char stateName[WD_MAX_HOST_NAMELEN];	/* state name */
	int wd_port;							/* watchdog port */
	int wd_priority;						/* node priority in leader election */
	int pgpool_port;						/* pgpool port */
	char delegate_ip[WD_MAX_HOST_NAMELEN];	/* delegate IP */
	int	id;
}PCPWDNodeInfo;

typedef struct PCPWDClusterInfo
{
	int remoteNodeCount;
	int quorumStatus;
	int aliveNodeCount;
	bool escalated;
	char masterNodeName[WD_MAX_HOST_NAMELEN];
	char masterHostName[WD_MAX_HOST_NAMELEN];
	int nodeCount;
	PCPWDNodeInfo nodeList[1];
}PCPWDClusterInfo;

/* --------------------------------
 * pcp.c
 * --------------------------------
 */

/* ------------------------------
 * pcp_error.c
 * ------------------------------
 */

#endif /* PCP_H */