diff options
author | Sterling Hughes <sterling@php.net> | 2001-04-26 02:01:09 +0000 |
---|---|---|
committer | Sterling Hughes <sterling@php.net> | 2001-04-26 02:01:09 +0000 |
commit | ad138d77dbcf1950926b3e20bc7622c2dc666e55 (patch) | |
tree | e39186d17e58f425dcc4390c5f42a8138719dc2f /ext/xslt/php_xslt.h | |
parent | 41b33f0591ecb478ea434538af82df0b6473d2b8 (diff) | |
download | php-git-ad138d77dbcf1950926b3e20bc7622c2dc666e55.tar.gz |
Add the parse_xslt_arguments api function which parses sablotron type
arguments into an easy to use structure.
Diffstat (limited to 'ext/xslt/php_xslt.h')
-rw-r--r-- | ext/xslt/php_xslt.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ext/xslt/php_xslt.h b/ext/xslt/php_xslt.h index 1e717abaf5..3825cb88d3 100644 --- a/ext/xslt/php_xslt.h +++ b/ext/xslt/php_xslt.h @@ -26,11 +26,26 @@ #define XSLT_OBJ(__func) (&(__func)->obj) #define XSLT_FUNC(__func) ((__func)->func) +#define XSLT_IS_FILE 0 +#define XSLT_IS_DATA 1 + struct xslt_function { zval *obj; zval *func; }; +struct _xslt_argument { + char *ptr; + int type; +}; + +typedef struct { + struct _xslt_argument xml; + struct _xslt_argument xsl; + struct _xslt_argument result; +} xslt_args; + +extern xslt_args *parse_xslt_arguments(char *, char *, char *, char **); extern void assign_xslt_handler(struct xslt_function **, zval **); extern void free_xslt_handler(struct xslt_function *); |