PageRenderTime 29ms CodeModel.GetById 24ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/hdbc-postgresql-helper.h

http://github.com/hdbc/hdbc-postgresql
C Header | 16 lines | 12 code | 4 blank | 0 comment | 0 complexity | 4defe6e620eadae90714ab6bbae359ad MD5 | raw file
 1#include <libpq-fe.h>
 2
 3typedef struct TAG_finalizeonce {
 4  void *encapobj;
 5  int refcount;
 6  int isfinalized;
 7  struct TAG_finalizeonce *parent;
 8} finalizeonce;
 9
10extern finalizeonce *wrapobjpg(void *obj, finalizeonce *parentobj);
11
12extern void PQfinish_app(finalizeonce *conn);
13extern void PQfinish_finalizer(finalizeonce *conn);
14
15extern void PQclear_app(finalizeonce *res);
16extern void PQclear_finalizer(finalizeonce *res);