diff options
author | Michael Meskes <meskes@postgresql.org> | 2000-03-07 15:11:03 +0000 |
---|---|---|
committer | Michael Meskes <meskes@postgresql.org> | 2000-03-07 15:11:03 +0000 |
commit | 5a197810c09da06a772c235a6bba68290745d74c (patch) | |
tree | dd0053c6d2c99e6f9dc980a350623b30f3ae9496 /src/interfaces/ecpg/include | |
parent | ad3db67e5311590d42b8c5fce2a8ee2116678923 (diff) | |
download | postgresql-5a197810c09da06a772c235a6bba68290745d74c.tar.gz postgresql-5a197810c09da06a772c235a6bba68290745d74c.zip |
*** empty log message ***
Diffstat (limited to 'src/interfaces/ecpg/include')
-rw-r--r-- | src/interfaces/ecpg/include/ecpglib.h | 18 | ||||
-rw-r--r-- | src/interfaces/ecpg/include/ecpgtype.h | 27 |
2 files changed, 0 insertions, 45 deletions
diff --git a/src/interfaces/ecpg/include/ecpglib.h b/src/interfaces/ecpg/include/ecpglib.h index 1e527ce369e..03b09668ba9 100644 --- a/src/interfaces/ecpg/include/ecpglib.h +++ b/src/interfaces/ecpg/include/ecpglib.h @@ -24,22 +24,6 @@ extern "C" /* print an error message */ void sqlprint(void); -#ifdef LIBPQ_FE_H - bool ECPGsetdb(PGconn *); -#endif - -/* Here are some methods used by the lib. */ -/* Returns a pointer to a string containing a simple type name. */ - bool get_data(PGresult *, int, int, int, enum ECPGttype type, - enum ECPGttype, void *, void *, long, long, bool); - char *ecpg_alloc(long, int); - char *ecpg_strdup(const char *, int); - const char *ECPGtype_name(enum ECPGttype); - unsigned int ECPGDynamicType(Oid); - -/* and some vars */ - extern struct auto_mem *auto_allocs; - /* define this for simplicity as well as compatibility */ #define SQLCODE sqlca.sqlcode @@ -59,5 +43,3 @@ extern "C" } #endif - -#include <ecpgerrno.h> diff --git a/src/interfaces/ecpg/include/ecpgtype.h b/src/interfaces/ecpg/include/ecpgtype.h index 69c0e77a4e7..40a944856d4 100644 --- a/src/interfaces/ecpg/include/ecpgtype.h +++ b/src/interfaces/ecpg/include/ecpgtype.h @@ -73,33 +73,6 @@ extern "C" #define IS_SIMPLE_TYPE(type) ((type) >= ECPGt_char && (type) <= ECPGt_varchar2) - /* A generic varchar type. */ - struct ECPGgeneric_varchar - { - int len; - char arr[1]; - }; - -/* keep a list of memory we allocated for the user */ - struct auto_mem - { - void *pointer; - struct auto_mem *next; - }; - -/* structure to store one statement */ - struct statement - { - int lineno; - char *command; - struct connection *connection; - struct variable *inlist; - struct variable *outlist; - }; - - -/* define this for simplicity as well as compatibility */ - #ifdef __cplusplus } |