diff options
author | foobar <sniper@php.net> | 2002-06-14 00:01:49 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2002-06-14 00:01:49 +0000 |
commit | 18943c345dc7661a26fa119b65613e5f8a44e662 (patch) | |
tree | 24304002a4f8dc4620a4d7f27f477907abfb07bd /ext/informix/php_informix.h | |
parent | fd3b919abfeae7491950eb51f417b3b2ecb6bbe1 (diff) | |
download | php-git-18943c345dc7661a26fa119b65613e5f8a44e662.tar.gz |
- Fixed bug #15803 (and propably others related too)
. Changed the compile so that it doesn't "pollute" the INCLUDES
anymore and thus cause trouble with other extensions which
might use the same header files. (e.g. ODBC)
. Some fixes for Informix compile problems (with the new build system)
. Removed unnecessary stub.c file.
Diffstat (limited to 'ext/informix/php_informix.h')
-rw-r--r-- | ext/informix/php_informix.h | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/ext/informix/php_informix.h b/ext/informix/php_informix.h index 53fed68427..6956da5e39 100644 --- a/ext/informix/php_informix.h +++ b/ext/informix/php_informix.h @@ -43,12 +43,6 @@ extern zend_module_entry ifx_module_entry; #define ifx_module_ptr &ifx_module_entry -#undef TYPEMAX -#undef CHAR - -#include "locator.h" -#include "sqltypes.h" - /* user functions */ PHP_MINIT_FUNCTION(ifx); PHP_RINIT_FUNCTION(ifx); @@ -123,56 +117,6 @@ ZEND_END_MODULE_GLOBALS(ifx) # define IFXG(v) (ifx_globals.v) #endif -#define MAX_RESID 64 -#define BLOBINFILE 0 /* 0=in memory, 1=in file */ - -/* query result set data */ -typedef struct ifx_res { - char connecid[16]; - char cursorid[16]; - char descrpid[16]; - char statemid[16]; - int isscroll; - int ishold; - int iscursory; - int paramquery; - int numcols; - int rowid; - int affected_rows; - long sqlerrd[6]; - int res_id[MAX_RESID]; -} IFX_RES; - -typedef struct _IFX_IDRES { - int type; - union { - struct { - int mode; - loc_t blob_data; - } BLOBRES; - - struct { - char *char_data; - int len; - } CHARRES; - -#if HAVE_IFX_IUS - struct { - ifx_lo_t slob_data; - ifx_lo_create_spec_t *createspec; - int lofd; - } SLOBRES; -#endif - } DATARES; -} IFX_IDRES; - -#define BLOB DATARES.BLOBRES -#define CHAR DATARES.CHARRES - -#if HAVE_IFX_IUS -#define SLOB DATARES.SLOBRES -#endif - #else /* not HAVE_IFX */ #define ifx_module_ptr NULL #endif |