diff options
author | Wez Furlong <wez@php.net> | 2005-06-10 02:50:37 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2005-06-10 02:50:37 +0000 |
commit | be76bd5278ff3c9b772df6acc9a9623f6fafe199 (patch) | |
tree | de5c42984a03eb9320f9a07351944bfe40801c88 /ext/pdo_sqlite/php_pdo_sqlite_int.h | |
parent | 648522ab980a446e231d0fa60bd0b4ae6437fd67 (diff) | |
download | php-git-be76bd5278ff3c9b772df6acc9a9623f6fafe199.tar.gz |
work in progress on UDF.
Something is hokey in HEAD, checking it in to try it on another box.
Diffstat (limited to 'ext/pdo_sqlite/php_pdo_sqlite_int.h')
-rw-r--r-- | ext/pdo_sqlite/php_pdo_sqlite_int.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/ext/pdo_sqlite/php_pdo_sqlite_int.h b/ext/pdo_sqlite/php_pdo_sqlite_int.h index ee57fa378c..94b0d28c62 100644 --- a/ext/pdo_sqlite/php_pdo_sqlite_int.h +++ b/ext/pdo_sqlite/php_pdo_sqlite_int.h @@ -2,7 +2,7 @@ +----------------------------------------------------------------------+ | PHP Version 5 | +----------------------------------------------------------------------+ - | Copyright (c) 1997-2004 The PHP Group | + | Copyright (c) 1997-2005 The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.0 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | @@ -30,9 +30,26 @@ typedef struct { char *errmsg; } pdo_sqlite_error_info; +struct pdo_sqlite_fci { + zend_fcall_info fci; + zend_fcall_info_cache fcc; +}; + +struct pdo_sqlite_func { + struct pdo_sqlite_func *next; + + zval *func, *step, *fini; + int argc; + const char *funcname; + + /* accelerated callback references */ + struct pdo_sqlite_fci afunc, astep, afini; +}; + typedef struct { sqlite3 *db; pdo_sqlite_error_info einfo; + struct pdo_sqlite_func *funcs; } pdo_sqlite_db_handle; typedef struct { |