PostgreSQL Source Code
git master
|
Go to the source code of this file.
Functions | |
int | PQregisterEventProc (PGconn *conn, PGEventProc proc, const char *name, void *passThrough) |
int | PQsetInstanceData (PGconn *conn, PGEventProc proc, void *data) |
void * | PQinstanceData (const PGconn *conn, PGEventProc proc) |
int | PQresultSetInstanceData (PGresult *result, PGEventProc proc, void *data) |
void * | PQresultInstanceData (const PGresult *result, PGEventProc proc) |
int | PQfireResultCreateEvents (PGconn *conn, PGresult *res) |
Definition at line 185 of file libpq-events.c.
References conn, PGEventResultCreate::conn, pg_result::events, i, pg_result::nEvents, PGEvent::passThrough, PGEVT_RESULTCREATE, PGEvent::proc, res, PGEventResultCreate::result, and PGEvent::resultInitialized.
Referenced by PQgetResult().
void* PQinstanceData | ( | const PGconn * | conn, |
PGEventProc | proc | ||
) |
Definition at line 121 of file libpq-events.c.
References conn, PGEvent::data, pg_conn::events, i, pg_conn::nEvents, and PGEvent::proc.
int PQregisterEventProc | ( | PGconn * | conn, |
PGEventProc | proc, | ||
const char * | name, | ||
void * | passThrough | ||
) |
Definition at line 40 of file libpq-events.c.
References conn, PGEventRegister::conn, PGEvent::data, pg_conn::eventArraySize, pg_conn::events, free, i, malloc, name, PGEvent::name, pg_conn::nEvents, PGEvent::passThrough, PGEVT_REGISTER, PGEvent::proc, realloc, and PGEvent::resultInitialized.
void* PQresultInstanceData | ( | const PGresult * | result, |
PGEventProc | proc | ||
) |
Definition at line 165 of file libpq-events.c.
References PGEvent::data, pg_result::events, i, pg_result::nEvents, and PGEvent::proc.
int PQresultSetInstanceData | ( | PGresult * | result, |
PGEventProc | proc, | ||
void * | data | ||
) |
Definition at line 142 of file libpq-events.c.
References PGEvent::data, data, pg_result::events, i, pg_result::nEvents, and PGEvent::proc.
int PQsetInstanceData | ( | PGconn * | conn, |
PGEventProc | proc, | ||
void * | data | ||
) |
Definition at line 98 of file libpq-events.c.
References conn, PGEvent::data, data, pg_conn::events, i, pg_conn::nEvents, and PGEvent::proc.