diff options
author | Hannes Magnusson <bjori@php.net> | 2006-06-17 13:06:06 +0000 |
---|---|---|
committer | Hannes Magnusson <bjori@php.net> | 2006-06-17 13:06:06 +0000 |
commit | aae5df3ffdf31e0ddb294cf588b15cd18514f99d (patch) | |
tree | 3b19d43785ab958ac2aa075b8f436cf996873ef7 /ext/libxml | |
parent | c6080567e2ccd250d5813d277aeb8d23fb68eb01 (diff) | |
download | php-git-aae5df3ffdf31e0ddb294cf588b15cd18514f99d.tar.gz |
MFH: arg ifno
Diffstat (limited to 'ext/libxml')
-rw-r--r-- | ext/libxml/libxml.c | 37 |
1 files changed, 31 insertions, 6 deletions
diff --git a/ext/libxml/libxml.c b/ext/libxml/libxml.c index b2df304008..a7a719898d 100644 --- a/ext/libxml/libxml.c +++ b/ext/libxml/libxml.c @@ -83,13 +83,38 @@ PHP_MINFO_FUNCTION(libxml); /* }}} */ +/* {{{ arginfo */ +static +ZEND_BEGIN_ARG_INFO(arginfo_libxml_set_streams_context, 0) + ZEND_ARG_INFO(0, context) +ZEND_END_ARG_INFO() + +static +ZEND_BEGIN_ARG_INFO(arginfo_libxml_use_internal_errors, 0) + ZEND_ARG_INFO(0, use_errors) +ZEND_END_ARG_INFO() + +static +ZEND_BEGIN_ARG_INFO(arginfo_libxml_get_last_error, 0) +ZEND_END_ARG_INFO() + +static +ZEND_BEGIN_ARG_INFO(arginfo_libxml_get_errors, 0) +ZEND_END_ARG_INFO() + +static +ZEND_BEGIN_ARG_INFO(arginfo_libxml_clear_errors, 0) +ZEND_END_ARG_INFO() + +/* }}} */ + /* {{{ extension definition structures */ zend_function_entry libxml_functions[] = { - PHP_FE(libxml_set_streams_context, NULL) - PHP_FE(libxml_use_internal_errors, NULL) - PHP_FE(libxml_get_last_error, NULL) - PHP_FE(libxml_clear_errors, NULL) - PHP_FE(libxml_get_errors, NULL) + PHP_FE(libxml_set_streams_context, arginfo_libxml_set_streams_context) + PHP_FE(libxml_use_internal_errors, arginfo_libxml_use_internal_errors) + PHP_FE(libxml_get_last_error, arginfo_libxml_get_last_error) + PHP_FE(libxml_clear_errors, arginfo_libxml_clear_errors) + PHP_FE(libxml_get_errors, arginfo_libxml_get_errors) {NULL, NULL, NULL} }; @@ -674,7 +699,7 @@ PHP_FUNCTION(libxml_set_streams_context) } /* }}} */ -/* {{{ proto void libxml_use_internal_errors(boolean use_errors) +/* {{{ proto void libxml_use_internal_errors([boolean use_errors]) Disable libxml errors and allow user to fetch error information as needed */ PHP_FUNCTION(libxml_use_internal_errors) { |