summaryrefslogtreecommitdiff
path: root/ext/xml/php_xml.h
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2006-08-02 15:22:56 +0000
committerIlia Alshanetsky <iliaa@php.net>2006-08-02 15:22:56 +0000
commit9829b0c1ff3579cc57a0774c8dbae72ce8fc6c81 (patch)
treefedf69ecff29b40039a6aabc8f9978c3e3f48b36 /ext/xml/php_xml.h
parent7205725d754325c64de8eb44f169c1056896d22d (diff)
downloadphp-git-9829b0c1ff3579cc57a0774c8dbae72ce8fc6c81.tar.gz
MFB: 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 */