summaryrefslogtreecommitdiff
path: root/ext/libxml/libxml_arginfo.h
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-04-05 21:15:30 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-04-05 21:15:30 +0200
commit21cfa03f1740042d0c48269430e0490e319e1408 (patch)
tree23b051bee2443030478248734442bf7a1e3fcb58 /ext/libxml/libxml_arginfo.h
parentc0cbab6002f8b111396c3ab2b9df92cbd0b3448a (diff)
downloadphp-git-21cfa03f1740042d0c48269430e0490e319e1408.tar.gz
Generate function entries for another batch of extensions
Closes GH-5352
Diffstat (limited to 'ext/libxml/libxml_arginfo.h')
-rw-r--r--ext/libxml/libxml_arginfo.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/ext/libxml/libxml_arginfo.h b/ext/libxml/libxml_arginfo.h
index 0df59c30ca..77c085e776 100644
--- a/ext/libxml/libxml_arginfo.h
+++ b/ext/libxml/libxml_arginfo.h
@@ -24,3 +24,24 @@ ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_libxml_set_external_entity_loader, 0, 1, _IS_BOOL, 0)
ZEND_ARG_TYPE_INFO(0, resolver_function, IS_CALLABLE, 1)
ZEND_END_ARG_INFO()
+
+
+ZEND_FUNCTION(libxml_set_streams_context);
+ZEND_FUNCTION(libxml_use_internal_errors);
+ZEND_FUNCTION(libxml_get_last_error);
+ZEND_FUNCTION(libxml_get_errors);
+ZEND_FUNCTION(libxml_clear_errors);
+ZEND_FUNCTION(libxml_disable_entity_loader);
+ZEND_FUNCTION(libxml_set_external_entity_loader);
+
+
+static const zend_function_entry ext_functions[] = {
+ ZEND_FE(libxml_set_streams_context, arginfo_libxml_set_streams_context)
+ ZEND_FE(libxml_use_internal_errors, arginfo_libxml_use_internal_errors)
+ ZEND_FE(libxml_get_last_error, arginfo_libxml_get_last_error)
+ ZEND_FE(libxml_get_errors, arginfo_libxml_get_errors)
+ ZEND_FE(libxml_clear_errors, arginfo_libxml_clear_errors)
+ ZEND_FE(libxml_disable_entity_loader, arginfo_libxml_disable_entity_loader)
+ ZEND_FE(libxml_set_external_entity_loader, arginfo_libxml_set_external_entity_loader)
+ ZEND_FE_END
+};