Bonsoir,

Peut-être ainsi:


typedef struct _MyApp {
PGconn *conn;
} MyApp;

int main (int argc, char *argv[])