summaryrefslogtreecommitdiff
path: root/ext/dba/php_dba.h
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-12-18 20:14:15 +0000
committerMarcus Boerger <helly@php.net>2003-12-18 20:14:15 +0000
commit0283b50316ed8fa20cb7df1f03459108a8e97943 (patch)
tree38cc755839c8b133e910f34821b55ac4ce3f5cc8 /ext/dba/php_dba.h
parenta6dd097484bf5ced360ddfb81306fe477286fab9 (diff)
downloadphp-git-0283b50316ed8fa20cb7df1f03459108a8e97943.tar.gz
Centralize ability to drop APPEND flag. This probably fixes some ini file
issues.
Diffstat (limited to 'ext/dba/php_dba.h')
-rw-r--r--ext/dba/php_dba.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/dba/php_dba.h b/ext/dba/php_dba.h
index bc13ea62dc..eb092a832a 100644
--- a/ext/dba/php_dba.h
+++ b/ext/dba/php_dba.h
@@ -43,6 +43,7 @@ typedef struct dba_info {
char *path;
dba_mode_t mode;
php_stream *fp; /* this is the database stream for builtin handlers */
+ int fd;
/* arg[cv] are only available when the dba_open handler is called! */
int argc;
zval ***argv;
@@ -64,6 +65,9 @@ typedef struct dba_info {
#define DBA_STREAM_OPEN (0x0010)
#define DBA_PERSISTENT (0x0020)
+#define DBA_CAST_AS_FD (0x0050)
+#define DBA_NO_APPEND (0x00D0)
+
extern zend_module_entry dba_module_entry;
#define dba_module_ptr &dba_module_entry