blob: 188e73ba36576783d59400cc7ba5c534866f5932 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include <libpq-fe.h>
typedef struct TAG_finalizeonce {
void *encapobj;
int refcount;
int isfinalized;
struct TAG_finalizeonce *parent;
} finalizeonce;
extern finalizeonce *wrapobjpg(void *obj, finalizeonce *parentobj);
extern void PQfinish_app(finalizeonce *conn);
extern void PQfinish_finalizer(finalizeonce *conn);
extern void PQclear_app(finalizeonce *res);
extern void PQclear_finalizer(finalizeonce *res);
|