--- embedaddon/php/ext/soap/php_xml.c 2012/02/21 23:48:01 1.1.1.1 +++ embedaddon/php/ext/soap/php_xml.c 2012/05/29 12:34:42 1.1.1.2 @@ -17,7 +17,7 @@ | Dmitry Stogov | +----------------------------------------------------------------------+ */ -/* $Id: php_xml.c,v 1.1.1.1 2012/02/21 23:48:01 misho Exp $ */ +/* $Id: php_xml.c,v 1.1.1.2 2012/05/29 12:34:42 misho Exp $ */ #include "php_soap.h" #include "libxml/parser.h" @@ -168,32 +168,6 @@ xmlDocPtr soap_xmlParseMemory(const void *buf, size_t */ return ret; } - -#ifndef ZEND_ENGINE_2 -int php_stream_xmlIO_match_wrapper(const char *filename) -{ - TSRMLS_FETCH(); - return php_stream_locate_url_wrapper(filename, NULL, STREAM_LOCATE_WRAPPERS_ONLY TSRMLS_CC) ? 1 : 0; -} - -void *php_stream_xmlIO_open_wrapper(const char *filename) -{ - TSRMLS_FETCH(); - return php_stream_open_wrapper((char*)filename, "rb", ENFORCE_SAFE_MODE|REPORT_ERRORS, NULL); -} - -int php_stream_xmlIO_read(void *context, char *buffer, int len) -{ - TSRMLS_FETCH(); - return php_stream_read((php_stream*)context, buffer, len); -} - -int php_stream_xmlIO_close(void *context) -{ - TSRMLS_FETCH(); - return php_stream_close((php_stream*)context); -} -#endif xmlNsPtr attr_find_ns(xmlAttrPtr node) {