diff options
author | Jouni Ahto <jah@php.net> | 2000-06-27 21:36:26 +0000 |
---|---|---|
committer | Jouni Ahto <jah@php.net> | 2000-06-27 21:36:26 +0000 |
commit | 1dfe76f5f6bfb7b866fd0ff88fff0d47ab7251b5 (patch) | |
tree | b6d19e2cab2fc0be1cccea6543fc31bd33b043da /ext/dba/php_dba.h | |
parent | c860633741a1931d9f9e5298b21a8dc8efbc0fad (diff) | |
download | php-git-1dfe76f5f6bfb7b866fd0ff88fff0d47ab7251b5.tar.gz |
- dba_[p]open accepts now a new parameter, which kind of database to create
(DBA_BTREE or DBA_HASH), if the handler is either 'db2' or 'db3' and
mode 'c' or 'n'. It is ignored if mode is 'c' and the db already exists.
# Asked on the list 4 1/2 hours ago if anyone's got to say something to this,
# no response, so I'm assuming it's ok. And yes, I did test this.
Diffstat (limited to 'ext/dba/php_dba.h')
-rw-r--r-- | ext/dba/php_dba.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/dba/php_dba.h b/ext/dba/php_dba.h index a504e972d1..0eeb38c027 100644 --- a/ext/dba/php_dba.h +++ b/ext/dba/php_dba.h @@ -41,6 +41,12 @@ typedef enum { DBA_CREAT } dba_mode_t; +typedef enum { + DBA_BTREE = 1, + DBA_HASH, + DBA_RECNO +} dba_type_t; + typedef struct dba_info { /* public */ void *dbf; /* ptr to private data or whatever */ |