summaryrefslogtreecommitdiff
path: root/ext/xml/php_xml.h
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2006-08-02 15:21:54 +0000
committerIlia Alshanetsky <iliaa@php.net>2006-08-02 15:21:54 +0000
commite79e9fade6694ab8485c8722dfdc84b0c866ccc1 (patch)
treeb13b6a48a61a493a7cc5c00f1e68b38f66405dcf /ext/xml/php_xml.h
parente5635a81af0bbbd3459d1de2595dc7ab47166eda (diff)
downloadphp-git-e79e9fade6694ab8485c8722dfdc84b0c866ccc1.tar.gz
Expose the xml_utf8_encode function.
Diffstat (limited to 'ext/xml/php_xml.h')
-rw-r--r--ext/xml/php_xml.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/xml/php_xml.h b/ext/xml/php_xml.h
index aa778cf825..21b328d5cb 100644
--- a/ext/xml/php_xml.h
+++ b/ext/xml/php_xml.h
@@ -141,6 +141,7 @@ PHP_FUNCTION(xml_parse_into_struct);
PHPAPI char *_xml_zval_strdup(zval *val);
PHPAPI char *xml_utf8_decode(const XML_Char *, int, int *, const XML_Char *);
+PHPAPI char *xml_utf8_encode(const char *s, int len, int *newlen, const XML_Char *encoding);
#endif /* HAVE_LIBEXPAT */