summaryrefslogtreecommitdiff
path: root/ext/xslt/php_sablot.h
diff options
context:
space:
mode:
authorMarko Karppinen <markonen@php.net>2002-06-24 19:31:31 +0000
committerMarko Karppinen <markonen@php.net>2002-06-24 19:31:31 +0000
commitec88777f59b2ea7e5814e500ce5f6dbe28ffd0e0 (patch)
treee8927ed76f0b72dd7f55d5f709a1992157ecf76c /ext/xslt/php_sablot.h
parent48bdf08edb7dcf20b3ba56cb575cf6b6d6999f3a (diff)
downloadphp-git-ec88777f59b2ea7e5814e500ce5f6dbe28ffd0e0.tar.gz
Revert to php_4_2_1 to get sablotron working again.
# Sterling, please fix the DOM stuff asap so we can enjoy # the new functionality!
Diffstat (limited to 'ext/xslt/php_sablot.h')
-rw-r--r--ext/xslt/php_sablot.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/ext/xslt/php_sablot.h b/ext/xslt/php_sablot.h
index a0304437b5..97e2dc6391 100644
--- a/ext/xslt/php_sablot.h
+++ b/ext/xslt/php_sablot.h
@@ -16,8 +16,6 @@
+----------------------------------------------------------------------+
*/
-/* $Id$ */
-
#ifndef PHP_XSLT_H
#define PHP_XSLT_H
@@ -43,7 +41,6 @@ extern zend_module_entry xslt_module_entry;
#define XSLT_ERROR(handle) ((handle)->handlers->error)
#define XSLT_PROCESSOR(handle) ((handle)->processor.ptr)
-#define XSLT_CONTEXT(handle) ((handle)->processor.ctx)
#define XSLT_ERRNO(handle) ((handle)->err->no)
#define XSLT_ERRSTR(handle) ((handle)->err->str)
@@ -62,9 +59,9 @@ PHP_FUNCTION(xslt_set_base);
PHP_FUNCTION(xslt_set_encoding);
PHP_FUNCTION(xslt_set_log);
PHP_FUNCTION(xslt_process);
-PHP_FUNCTION(xslt_free);
PHP_FUNCTION(xslt_error);
PHP_FUNCTION(xslt_errno);
+PHP_FUNCTION(xslt_free);
struct scheme_handlers {
zval *get_all;
@@ -93,9 +90,8 @@ struct xslt_handlers {
};
struct xslt_processor {
- SablotSituation ctx;
- SablotHandle ptr;
- long idx;
+ SablotHandle ptr;
+ long idx;
};
struct xslt_log {
@@ -111,10 +107,9 @@ struct xslt_error {
};
typedef struct {
- struct xslt_processor processor;
struct xslt_handlers *handlers;
+ struct xslt_processor processor;
struct xslt_error *err;
- int cacheable;
} php_xslt;
#else