summaryrefslogtreecommitdiff
path: root/ext/dba/php3_dba.h
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-09-17 09:56:30 +0000
committerSascha Schumann <sas@php.net>1999-09-17 09:56:30 +0000
commit6780b649c6e7f98c678b18495411934e76c52720 (patch)
tree6194ba7a147f1068075d88c9d780edffcfbde569 /ext/dba/php3_dba.h
parent7d519f2f842d173d1748f57820fa78002a939278 (diff)
downloadphp-git-6780b649c6e7f98c678b18495411934e76c52720.tar.gz
Convert to Ex API. Does anyone have a better name for it?
Diffstat (limited to 'ext/dba/php3_dba.h')
-rw-r--r--ext/dba/php3_dba.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dba/php3_dba.h b/ext/dba/php3_dba.h
index caa7bfed05..4a1470c503 100644
--- a/ext/dba/php3_dba.h
+++ b/ext/dba/php3_dba.h
@@ -48,7 +48,7 @@ typedef struct dba_info {
dba_mode_t mode;
/* arg[cv] are only available when the dba_open handler is called! */
int argc;
- pval **argv;
+ pval ***argv;
/* private */
struct dba_handler *hnd;
} dba_info;
@@ -91,7 +91,7 @@ extern php3_module_entry dba_module_entry;
DBA_OPTIMIZE_FUNC(x); \
DBA_SYNC_FUNC(x)
-#define VALLEN(p) (p)->value.str.val, (p)->value.str.len
+#define VALLEN(p) (*p)->value.str.val, (*p)->value.str.len
PHP_FUNCTION(dba_open);
PHP_FUNCTION(dba_popen);