diff options
author | Sterling Hughes <sterling@php.net> | 2003-05-22 03:04:11 +0000 |
---|---|---|
committer | Sterling Hughes <sterling@php.net> | 2003-05-22 03:04:11 +0000 |
commit | 8b50ea61a734574b0d624cc30c5e48bbafa7d5a9 (patch) | |
tree | 106ad6296febf9a5e1a7a8e6efbea3a9ddb2f996 /ext/xml/php_xml.h | |
parent | 8338bea0185b4f67dd5916d26b6350b489d05fd0 (diff) | |
download | php-git-8b50ea61a734574b0d624cc30c5e48bbafa7d5a9.tar.gz |
take advantage of the fast_call_user_function() api call for all of the
callbacks.
Diffstat (limited to 'ext/xml/php_xml.h')
-rw-r--r-- | ext/xml/php_xml.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/ext/xml/php_xml.h b/ext/xml/php_xml.h index ca77d3d224..dc69c19edb 100644 --- a/ext/xml/php_xml.h +++ b/ext/xml/php_xml.h @@ -14,6 +14,7 @@ +----------------------------------------------------------------------+ | Authors: Stig Sæther Bakken <ssb@php.net> | | Thies C. Arntzen <thies@thieso.net> | + | Sterling Hughes <sterling@php.net> | +----------------------------------------------------------------------+ */ @@ -53,6 +54,7 @@ typedef struct { int case_folding; XML_Parser parser; XML_Char *target_encoding; + zval *startElementHandler; zval *endElementHandler; zval *characterDataHandler; @@ -61,9 +63,22 @@ typedef struct { zval *unparsedEntityDeclHandler; zval *notationDeclHandler; zval *externalEntityRefHandler; - zval *unknownEncodingHandler; + zval *unknownEncodingHandler; zval *startNamespaceDeclHandler; zval *endNamespaceDeclHandler; + + zend_function *startElementPtr; + zend_function *endElementPtr; + zend_function *characterDataPtr; + zend_function *processingInstructionPtr; + zend_function *defaultPtr; + zend_function *unparsedEntityDeclPtr; + zend_function *notationDeclPtr; + zend_function *externalEntityRefPtr; + zend_function *unknownEncodingPtr; + zend_function *startNamespaceDeclPtr; + zend_function *endNamespaceDeclPtr; + zval *object; zval *data; |