summaryrefslogtreecommitdiff
path: root/ext/soap/php_soap.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2006-09-20 13:42:52 +0000
committerDmitry Stogov <dmitry@php.net>2006-09-20 13:42:52 +0000
commitf5d7dac35d3e5bf653f275f86ab11f6b93874062 (patch)
tree6a683ac51d2b707defaf0e94559c4d354be4ec8f /ext/soap/php_soap.h
parent811634bd8adab5ae2e26c2d169894b181eef17f3 (diff)
downloadphp-git-f5d7dac35d3e5bf653f275f86ab11f6b93874062.tar.gz
Added ability to make SOAP call userspace PHP<->XML converters
Diffstat (limited to 'ext/soap/php_soap.h')
-rw-r--r--ext/soap/php_soap.h27
1 files changed, 4 insertions, 23 deletions
diff --git a/ext/soap/php_soap.h b/ext/soap/php_soap.h
index 39dbe3e5d3..776381a5c7 100644
--- a/ext/soap/php_soap.h
+++ b/ext/soap/php_soap.h
@@ -35,10 +35,6 @@
#include <libxml/parser.h>
#include <libxml/xpath.h>
-#ifdef HAVE_PHP_DOMXML
-# include "ext/domxml/php_domxml.h"
-#endif
-
#ifndef PHP_HAVE_STREAMS
# error You lose - must be compiled against PHP 4.3.0 or later
#endif
@@ -78,23 +74,8 @@ typedef struct _soapService soapService, *soapServicePtr;
#include "php_packet_soap.h"
struct _soapMapping {
- char *ns;
- char *ctype;
- int type;
-
- struct _map_functions {
- zval *to_xml_before;
- zval *to_xml;
- zval *to_xml_after;
- zval *to_zval_before;
- zval *to_zval;
- zval *to_zval_after;
- } map_functions;
-
- struct _map_class {
- int type;
- zend_class_entry *ce;
- } map_class;
+ zval *to_xml;
+ zval *to_zval;
};
struct _soapHeader;
@@ -116,7 +97,7 @@ struct _soapService {
zval *soap_object;
- HashTable *mapping;
+ HashTable *typemap;
int version;
int type;
char *actor;
@@ -170,7 +151,7 @@ ZEND_BEGIN_MODULE_GLOBALS(soap)
HashTable defEncNs; /* mapping of default namespaces to prefixes */
HashTable defEnc;
HashTable defEncIndex;
- HashTable *overrides;
+ HashTable *typemap;
int cur_uniq_ns;
int soap_version;
sdlPtr sdl;