summaryrefslogtreecommitdiff
path: root/ext/interbase/php_interbase.h
diff options
context:
space:
mode:
authorArd Biesheuvel <abies@php.net>2003-09-02 22:37:26 +0000
committerArd Biesheuvel <abies@php.net>2003-09-02 22:37:26 +0000
commitd674159601b5d6b542e83b60b6c6529bb0c63967 (patch)
treecf733925dfe696d49035ff829b107aa42e609040 /ext/interbase/php_interbase.h
parentf19dcfe8a3b82795b54456d868631d4b464acce1 (diff)
downloadphp-git-d674159601b5d6b542e83b60b6c6529bb0c63967.tar.gz
Nuke far pointers
# Unfortunately, this does break compatibility with Windows 3.x :-)
Diffstat (limited to 'ext/interbase/php_interbase.h')
-rw-r--r--ext/interbase/php_interbase.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/ext/interbase/php_interbase.h b/ext/interbase/php_interbase.h
index e36648101c..165855c46e 100644
--- a/ext/interbase/php_interbase.h
+++ b/ext/interbase/php_interbase.h
@@ -132,7 +132,7 @@ typedef struct {
ISC_ARRAY_DESC ar_desc;
int el_type, /* sqltype kinda SQL_TEXT, ...*/
el_size; /* element size in bytes */
- ISC_LONG ISC_FAR ar_size; /* all array size in bytes */
+ ISC_LONG ar_size; /* all array size in bytes */
} ibase_array;
typedef struct {
@@ -146,10 +146,9 @@ typedef struct {
ibase_trans *trans;
isc_stmt_handle stmt;
unsigned short type;
+ unsigned char has_more_rows, statement_type;
XSQLDA *out_sqlda;
ibase_array *out_array;
- unsigned char has_more_rows;
- char statement_type;
} ibase_result;
typedef struct {
@@ -163,12 +162,12 @@ typedef struct {
unsigned short dialect;
char statement_type;
char *query;
- int trans_res_id;
+ long trans_res_id;
} ibase_query;
typedef struct {
ibase_db_link *link;
- int link_res_id;
+ long link_res_id;
ISC_LONG event_id;
unsigned short event_count;
char **events;