annotate CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/include/pqStubs.h @ 69:33d812a61356

planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author jpayne
date Tue, 18 Mar 2025 17:55:14 -0400
parents
children
rev   line source
jpayne@69 1 /*
jpayne@69 2 *-----------------------------------------------------------------------------
jpayne@69 3 *
jpayne@69 4 * ../generic/pqStubs.h --
jpayne@69 5 *
jpayne@69 6 * Stubs for procedures in pqStubDefs.txt
jpayne@69 7 *
jpayne@69 8 * Generated by genExtStubs.tcl: DO NOT EDIT
jpayne@69 9 * 2015-06-26 12:55:15Z
jpayne@69 10 *
jpayne@69 11 *-----------------------------------------------------------------------------
jpayne@69 12 */
jpayne@69 13
jpayne@69 14 typedef struct pqStubDefs {
jpayne@69 15
jpayne@69 16 /* Functions from libraries: pq */
jpayne@69 17
jpayne@69 18 const char* (*pg_encoding_to_charPtr)(int);
jpayne@69 19 void (*PQclearPtr)(PGresult*);
jpayne@69 20 int (*PQclientEncodingPtr)(const PGconn*);
jpayne@69 21 char* (*PQcmdTuplesPtr)(PGresult*);
jpayne@69 22 PGconn* (*PQconnectdbPtr)(const char*);
jpayne@69 23 char* (*PQerrorMessagePtr)(const PGconn*);
jpayne@69 24 PGresult* (*PQdescribePreparedPtr)(PGconn*, const char*);
jpayne@69 25 PGresult* (*PQexecPtr)(PGconn*, const char*);
jpayne@69 26 PGresult* (*PQexecPreparedPtr)(PGconn*, const char*, int, const char *const*, const int*, const int*, int);
jpayne@69 27 char* (*PQdbPtr)(const PGconn *);
jpayne@69 28 void (*PQfinishPtr)(PGconn*);
jpayne@69 29 char* (*PQfnamePtr)(PGresult*, int);
jpayne@69 30 int (*PQfnumberPtr)(const PGresult*, const char*);
jpayne@69 31 Oid (*PQftypePtr)(const PGresult*, int);
jpayne@69 32 int (*PQgetisnullPtr)(const PGresult*, int, int);
jpayne@69 33 int (*PQgetlengthPtr)(const PGresult*, int, int);
jpayne@69 34 char* (*PQgetvaluePtr)(const PGresult*, int, int);
jpayne@69 35 char* (*PQhostPtr)(const PGconn*);
jpayne@69 36 int (*PQnfieldsPtr)(const PGresult*);
jpayne@69 37 int (*PQnparamsPtr)(const PGresult*);
jpayne@69 38 int (*PQntuplesPtr)(const PGresult*);
jpayne@69 39 char* (*PQoptionsPtr)(const PGconn*);
jpayne@69 40 Oid (*PQparamtypePtr)(const PGresult*, int);
jpayne@69 41 char* (*PQpassPtr)(const PGconn*);
jpayne@69 42 char* (*PQportPtr)(const PGconn*);
jpayne@69 43 PGresult* (*PQpreparePtr)(PGconn*, const char*, const char*, int, const Oid*);
jpayne@69 44 char* (*PQresultErrorFieldPtr)(const PGresult*, int);
jpayne@69 45 ExecStatusType (*PQresultStatusPtr)(const PGresult*);
jpayne@69 46 int (*PQsetClientEncodingPtr)(PGconn*, const char*);
jpayne@69 47 PQnoticeProcessor (*PQsetNoticeProcessorPtr)(PGconn*, PQnoticeProcessor, void*);
jpayne@69 48 ConnStatusType (*PQstatusPtr)(PGconn*);
jpayne@69 49 char* (*PQuserPtr)(const PGconn*);
jpayne@69 50 char* (*PQttyPtr)(const PGconn*);
jpayne@69 51 } pqStubDefs;
jpayne@69 52 #define pg_encoding_to_char (pqStubs->pg_encoding_to_charPtr)
jpayne@69 53 #define PQclear (pqStubs->PQclearPtr)
jpayne@69 54 #define PQclientEncoding (pqStubs->PQclientEncodingPtr)
jpayne@69 55 #define PQcmdTuples (pqStubs->PQcmdTuplesPtr)
jpayne@69 56 #define PQconnectdb (pqStubs->PQconnectdbPtr)
jpayne@69 57 #define PQerrorMessage (pqStubs->PQerrorMessagePtr)
jpayne@69 58 #define PQdescribePrepared (pqStubs->PQdescribePreparedPtr)
jpayne@69 59 #define PQexec (pqStubs->PQexecPtr)
jpayne@69 60 #define PQexecPrepared (pqStubs->PQexecPreparedPtr)
jpayne@69 61 #define PQdb (pqStubs->PQdbPtr)
jpayne@69 62 #define PQfinish (pqStubs->PQfinishPtr)
jpayne@69 63 #define PQfname (pqStubs->PQfnamePtr)
jpayne@69 64 #define PQfnumber (pqStubs->PQfnumberPtr)
jpayne@69 65 #define PQftype (pqStubs->PQftypePtr)
jpayne@69 66 #define PQgetisnull (pqStubs->PQgetisnullPtr)
jpayne@69 67 #define PQgetlength (pqStubs->PQgetlengthPtr)
jpayne@69 68 #define PQgetvalue (pqStubs->PQgetvaluePtr)
jpayne@69 69 #define PQhost (pqStubs->PQhostPtr)
jpayne@69 70 #define PQnfields (pqStubs->PQnfieldsPtr)
jpayne@69 71 #define PQnparams (pqStubs->PQnparamsPtr)
jpayne@69 72 #define PQntuples (pqStubs->PQntuplesPtr)
jpayne@69 73 #define PQoptions (pqStubs->PQoptionsPtr)
jpayne@69 74 #define PQparamtype (pqStubs->PQparamtypePtr)
jpayne@69 75 #define PQpass (pqStubs->PQpassPtr)
jpayne@69 76 #define PQport (pqStubs->PQportPtr)
jpayne@69 77 #define PQprepare (pqStubs->PQpreparePtr)
jpayne@69 78 #define PQresultErrorField (pqStubs->PQresultErrorFieldPtr)
jpayne@69 79 #define PQresultStatus (pqStubs->PQresultStatusPtr)
jpayne@69 80 #define PQsetClientEncoding (pqStubs->PQsetClientEncodingPtr)
jpayne@69 81 #define PQsetNoticeProcessor (pqStubs->PQsetNoticeProcessorPtr)
jpayne@69 82 #define PQstatus (pqStubs->PQstatusPtr)
jpayne@69 83 #define PQuser (pqStubs->PQuserPtr)
jpayne@69 84 #define PQtty (pqStubs->PQttyPtr)
jpayne@69 85 MODULE_SCOPE const pqStubDefs *pqStubs;