1 #ifndef _WX_DATABASE_POSTGRESQL_INTERFACES_H_ 2 #define _WX_DATABASE_POSTGRESQL_INTERFACES_H_ 8 typedef PGconn* (*PQsetdbLoginType)(
const char*,
const char*,
9 const char*,
const char*,
const char*,
const char*,
const char*);
10 typedef char* (*PQerrorMessageType)(
const PGconn*);
13 typedef const char* (*PQencodingToCharType)(int);
15 typedef PGresult* (*PQexecType)(
const PGconn*,
const char*);
18 typedef char* (*PQcmdTuplesType)(
const PGresult*);
19 typedef PGresult* (*PQprepareType)(PGconn*,
const char*,
const char*, int,
const Oid*);
20 typedef PGresult* (*PQexecPreparedType)(PGconn*,
const char*, int,
const char *
const*,
21 const int*,
const int*,
int resultFormat);
22 typedef char* (*PQresultErrorMessageType)(
const PGresult*);
25 typedef char* (*PQfnameType)(
const PGresult*, int);
27 typedef char* (*PQgetvalueType)(
const PGresult*, int, int);
29 typedef unsigned char* (*PQunescapeByteaType)(
const unsigned char*,
size_t*);
100 #endif//_WX_DATABASE_POSTGRESQL_INTERFACES_H_ PQprepareType GetPQprepare()
wxDynamicLibrary m_PostgresDLL
PQencodingToCharType m_pPQencodingToChar
char *(* PQerrorMessageType)(const PGconn *)
PQclientEncodingType GetPQclientEncoding()
PQgetisnullType m_pPQgetisnull
PQunescapeByteaType GetPQunescapeBytea()
PQgetisnullType GetPQgetisnull()
PQgetlengthType m_pPQgetlength
PQsetClientEncodingType GetPQsetClientEncoding()
PQcmdTuplesType m_pPQcmdTuples
wxDynamicPostgresInterface()
int(* PQclientEncodingType)(const PGconn *)
PQsetdbLoginType GetPQsetdbLogin()
PQencodingToCharType GetPQencodingToChar()
PQfinishType GetPQfinish()
int(* PQbinaryTuplesType)(const PGresult *)
PQstatusType GetPQstatus()
char *(* PQresultErrorMessageType)(const PGresult *)
char *(* PQgetvalueType)(const PGresult *, int, int)
PQbinaryTuplesType GetPQbinaryTuples()
int(* PQsetClientEncodingType)(const PGconn *, const char *)
int(* PQgetlengthType)(const PGconn *)
void(* PQfreememType)(void *)
PGconn *(* PQsetdbLoginType)(const char *, const char *, const char *, const char *, const char *, const char *, const char *)
PQntuplesType m_pPQntuples
void(* PQclearType)(PGresult *)
PQsetClientEncodingType m_pPQsetClientEncoding
PQexecPreparedType m_pPQexecPrepared
PQresultErrorMessageType GetPQresultErrorMessage()
char *(* PQfnameType)(const PGresult *, int)
int(* PQntuplesType)(const PGresult *)
int(* PQfsizeType)(const PGresult *, int)
PQgetlengthType GetPQgetlength()
PQgetvalueType m_pPQgetvalue
int(* PQnfieldsType)(const PGresult *)
PQerrorMessageType m_pPQerrorMessage
PQunescapeByteaType m_pPQunescapeBytea
PGresult *(* PQexecType)(const PGconn *, const char *)
PQsetdbLoginType m_pPQsetdbLogin
PQnfieldsType m_pPQnfields
PQntuplesType GetPQntuples()
PQexecPreparedType GetPQexecPrepared()
char *(* PQcmdTuplesType)(const PGresult *)
void(* PQfinishType)(const PGconn *)
PQprepareType m_pPQprepare
unsigned char *(* PQunescapeByteaType)(const unsigned char *, size_t *)
PQfreememType GetPQfreemem()
PQresultStatusType GetPQresultStatus()
PGresult *(* PQprepareType)(PGconn *, const char *, const char *, int, const Oid *)
int(* PQgetisnullType)(const PGresult *, int, int)
PQresultStatusType m_pPQresultStatus
PQbinaryTuplesType m_pPQbinaryTuples
Oid(* PQftypeType)(const PGresult *, int)
PQgetvalueType GetPQgetvalue()
const char *(* PQencodingToCharType)(int)
PGresult *(* PQexecPreparedType)(PGconn *, const char *, int, const char *const *, const int *, const int *, int resultFormat)
PQerrorMessageType GetPQerrorMessage()
PQclientEncodingType m_pPQclientEncoding
ConnStatusType(* PQstatusType)(const PGconn *)
PQresultErrorMessageType m_pPQresultErrorMessage
PQcmdTuplesType GetPQcmdTuples()
PQnfieldsType GetPQnfields()
PQfreememType m_pPQfreemem
ExecStatusType(* PQresultStatusType)(const PGresult *)