3 void ECPGdebug(int, FILE *);
4 bool ECPGconnect(const char *dbname);
5 bool ECPGdo(int, char *,...);
7 bool ECPGrollback(int);
11 void ECPGlog(const char *format,...);
14 bool ECPGsetdb(PGconn *);
18 /* Here are some methods used by the lib. */
19 /* Returns a pointer to a string containing a simple type name. */
20 const char *ECPGtype_name(enum ECPGttype);
22 /* A generic varchar type. */
23 struct ECPGgeneric_varchar
29 /* print an error message */
32 /* define this for simplicity as well as compatibility */
34 #define SQLCODE sqlca.sqlcode