diff options
author | Ard Biesheuvel <abies@php.net> | 2003-08-08 11:04:12 +0000 |
---|---|---|
committer | Ard Biesheuvel <abies@php.net> | 2003-08-08 11:04:12 +0000 |
commit | 870ba5637555c47be8275c9fe25e2a5dfd901006 (patch) | |
tree | 8d7fe164c8c36d75c107eaee0e1d6ef9addb6602 /ext/interbase/php_interbase.h | |
parent | fb02fdf3060def63650e0690a9f805165ccb5bca (diff) | |
download | php-git-870ba5637555c47be8275c9fe25e2a5dfd901006.tar.gz |
Changed the names of some struct members for readability
Added function ibase_errcode()
@- Added function ibase_errcode() (Ard)
Diffstat (limited to 'ext/interbase/php_interbase.h')
-rw-r--r-- | ext/interbase/php_interbase.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/interbase/php_interbase.h b/ext/interbase/php_interbase.h index 4a7798f241..c98d44aa13 100644 --- a/ext/interbase/php_interbase.h +++ b/ext/interbase/php_interbase.h @@ -84,6 +84,7 @@ PHP_FUNCTION(ibase_modify_user); PHP_FUNCTION(ibase_delete_user); #endif PHP_FUNCTION(ibase_errmsg); +PHP_FUNCTION(ibase_errcode); #define IBASE_MSGSIZE 256 #define MAX_ERRMSG (IBASE_MSGSIZE*2) @@ -103,18 +104,19 @@ ZEND_BEGIN_MODULE_GLOBALS(ibase) char *timeformat; char *cfg_timeformat; char errmsg[MAX_ERRMSG]; + long sql_code; ZEND_END_MODULE_GLOBALS(ibase) typedef struct { isc_db_handle link; - struct tr_list *trans; + struct tr_list *tr_list; unsigned short dialect; } ibase_db_link; typedef struct { isc_tr_handle handle; int link_cnt; - ibase_db_link *link[1]; + ibase_db_link *db_link[1]; } ibase_trans; typedef struct tr_list { |