aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/include/ecpglib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/ecpg/include/ecpglib.h')
-rw-r--r--src/interfaces/ecpg/include/ecpglib.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/interfaces/ecpg/include/ecpglib.h b/src/interfaces/ecpg/include/ecpglib.h
index c0603b2e7f5..a81ca7e8b9c 100644
--- a/src/interfaces/ecpg/include/ecpglib.h
+++ b/src/interfaces/ecpg/include/ecpglib.h
@@ -13,6 +13,9 @@ bool ECPGdisconnect(int, const char *);
void ECPGlog(const char *format,...);
+bool ECPGdeclare(int, const char *, char *);
+bool ECPGopen(int, const char *);
+
#ifdef LIBPQ_FE_H
bool ECPGsetdb(PGconn *);
@@ -32,6 +35,11 @@ struct ECPGgeneric_varchar
/* print an error message */
void sqlprint(void);
+struct cursor { const char *name;
+ char *command;
+ struct cursor *next;
+ };
+
/* define this for simplicity as well as compatibility */
#define SQLCODE sqlca.sqlcode