This file is indexed.

/usr/include/pqStubs.h is in tcl8.6-tdbc-postgres 1.0.3-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
74
75
76
77
78
79
80
81
82
83
84
85
/*
 *-----------------------------------------------------------------------------
 *
 * ../generic/pqStubs.h --
 *
 *	Stubs for procedures in pqStubDefs.txt
 *
 * Generated by genExtStubs.tcl: DO NOT EDIT
 * 2011-04-12 02:23:01Z
 *
 *-----------------------------------------------------------------------------
 */

typedef struct pqStubDefs {

    /* Functions from libraries: libpq */

    const char* (*pg_encoding_to_charPtr)(int);
    void (*PQclearPtr)(PGresult*);
    int (*PQclientEncodingPtr)(const PGconn*);
    char* (*PQcmdTuplesPtr)(PGresult*);
    PGconn* (*PQconnectdbPtr)(const char*);
    char* (*PQerrorMessagePtr)(const PGconn*);
    PGresult* (*PQdescribePreparedPtr)(PGconn*, const char*);
    PGresult* (*PQexecPtr)(PGconn*, const char*);
    PGresult* (*PQexecPreparedPtr)(PGconn*, const char*, int, const char *const*, const int*, const int*, int);
    char* (*PQdbPtr)(const PGconn *);
    void (*PQfinishPtr)(PGconn*);
    char* (*PQfnamePtr)(PGresult*, int);
    int (*PQfnumberPtr)(const PGresult*, const char*);
    Oid (*PQftypePtr)(const PGresult*, int);
    int (*PQgetisnullPtr)(const PGresult*, int, int);
    int (*PQgetlengthPtr)(const PGresult*, int, int);
    char* (*PQgetvaluePtr)(const PGresult*, int, int);
    char* (*PQhostPtr)(const PGconn*);
    int (*PQnfieldsPtr)(const PGresult*);
    int (*PQnparamsPtr)(const PGresult*);
    int (*PQntuplesPtr)(const PGresult*);
    char* (*PQoptionsPtr)(const PGconn*);
    Oid (*PQparamtypePtr)(const PGresult*, int);
    char* (*PQpassPtr)(const PGconn*);
    char* (*PQportPtr)(const PGconn*);
    PGresult* (*PQpreparePtr)(PGconn*, const char*, const char*, int, const Oid*);
    char* (*PQresultErrorFieldPtr)(const PGresult*, int);
    ExecStatusType (*PQresultStatusPtr)(const PGresult*);
    int (*PQsetClientEncodingPtr)(PGconn*, const char*);
    PQnoticeProcessor (*PQsetNoticeProcessorPtr)(PGconn*, PQnoticeProcessor, void*);
    ConnStatusType (*PQstatusPtr)(PGconn*);
    char* (*PQuserPtr)(const PGconn*);
    char* (*PQttyPtr)(const PGconn*);
} pqStubDefs;
#define pg_encoding_to_char (pqStubs->pg_encoding_to_charPtr)
#define PQclear (pqStubs->PQclearPtr)
#define PQclientEncoding (pqStubs->PQclientEncodingPtr)
#define PQcmdTuples (pqStubs->PQcmdTuplesPtr)
#define PQconnectdb (pqStubs->PQconnectdbPtr)
#define PQerrorMessage (pqStubs->PQerrorMessagePtr)
#define PQdescribePrepared (pqStubs->PQdescribePreparedPtr)
#define PQexec (pqStubs->PQexecPtr)
#define PQexecPrepared (pqStubs->PQexecPreparedPtr)
#define PQdb (pqStubs->PQdbPtr)
#define PQfinish (pqStubs->PQfinishPtr)
#define PQfname (pqStubs->PQfnamePtr)
#define PQfnumber (pqStubs->PQfnumberPtr)
#define PQftype (pqStubs->PQftypePtr)
#define PQgetisnull (pqStubs->PQgetisnullPtr)
#define PQgetlength (pqStubs->PQgetlengthPtr)
#define PQgetvalue (pqStubs->PQgetvaluePtr)
#define PQhost (pqStubs->PQhostPtr)
#define PQnfields (pqStubs->PQnfieldsPtr)
#define PQnparams (pqStubs->PQnparamsPtr)
#define PQntuples (pqStubs->PQntuplesPtr)
#define PQoptions (pqStubs->PQoptionsPtr)
#define PQparamtype (pqStubs->PQparamtypePtr)
#define PQpass (pqStubs->PQpassPtr)
#define PQport (pqStubs->PQportPtr)
#define PQprepare (pqStubs->PQpreparePtr)
#define PQresultErrorField (pqStubs->PQresultErrorFieldPtr)
#define PQresultStatus (pqStubs->PQresultStatusPtr)
#define PQsetClientEncoding (pqStubs->PQsetClientEncodingPtr)
#define PQsetNoticeProcessor (pqStubs->PQsetNoticeProcessorPtr)
#define PQstatus (pqStubs->PQstatusPtr)
#define PQuser (pqStubs->PQuserPtr)
#define PQtty (pqStubs->PQttyPtr)
MODULE_SCOPE pqStubDefs *pqStubs;