summaryrefslogtreecommitdiff
path: root/ext/interbase/php_interbase.h
diff options
context:
space:
mode:
authorArd Biesheuvel <abies@php.net>2003-08-20 16:13:51 +0000
committerArd Biesheuvel <abies@php.net>2003-08-20 16:13:51 +0000
commitd70f744a6343f9cd48658bfa193ead420db024fe (patch)
tree6afd945e1e88d7cd6e0d86ef888f4fdeafa202d8 /ext/interbase/php_interbase.h
parent8f869998b5c1327a1b92e14c8c0a41ba03fbdff5 (diff)
downloadphp-git-d70f744a6343f9cd48658bfa193ead420db024fe.tar.gz
Moved transaction defaults to header file
Diffstat (limited to 'ext/interbase/php_interbase.h')
-rw-r--r--ext/interbase/php_interbase.h33
1 files changed, 18 insertions, 15 deletions
diff --git a/ext/interbase/php_interbase.h b/ext/interbase/php_interbase.h
index f5da6b611a..b9713fcdc7 100644
--- a/ext/interbase/php_interbase.h
+++ b/ext/interbase/php_interbase.h
@@ -180,23 +180,26 @@ typedef struct {
enum php_interbase_option {
PHP_IBASE_DEFAULT = 0,
- PHP_IBASE_UNIXTIME = 2,
- PHP_IBASE_TIMESTAMP = 4,
- PHP_IBASE_DATE = 8,
- PHP_IBASE_TIME = 16,
- /* fetch args */
+ /* fetch flags */
PHP_IBASE_FETCH_BLOBS = 1,
PHP_IBASE_FETCH_ARRAYS = 2,
- /* transactions */
- PHP_IBASE_WRITE = 2,
- PHP_IBASE_READ = 4,
- PHP_IBASE_COMMITTED = 8,
- PHP_IBASE_CONSISTENCY = 16,
- PHP_IBASE_CONCURRENCY = 32,
- PHP_IBASE_REC_VERSION = 64,
- PHP_IBASE_REC_NO_VERSION = 128,
- PHP_IBASE_NOWAIT = 256,
- PHP_IBASE_WAIT = 512
+ PHP_IBASE_UNIXTIME = 4,
+ /* timefmt flags */
+ PHP_IBASE_TIMESTAMP = 1,
+ PHP_IBASE_DATE = 2,
+ PHP_IBASE_TIME = 4,
+ /* transaction access mode */
+ PHP_IBASE_WRITE = 0, /* default */
+ PHP_IBASE_READ = 1,
+ /* transaction isolation level */
+ PHP_IBASE_CONCURRENCY = 0, /* default */
+ PHP_IBASE_COMMITTED = 2,
+ PHP_IBASE_REC_NO_VERSION = 0, /* default */
+ PHP_IBASE_REC_VERSION = 4,
+ PHP_IBASE_CONSISTENCY = 8,
+ /* transaction lock resolution */
+ PHP_IBASE_WAIT = 0, /* default */
+ PHP_IBASE_NOWAIT = 16
};
#ifdef ZTS