summaryrefslogtreecommitdiff
path: root/ext/soap/php_sdl.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2009-08-17 18:23:48 +0000
committerDmitry Stogov <dmitry@php.net>2009-08-17 18:23:48 +0000
commitb06436f171ffb6eae91af5a4269d5fd56780693c (patch)
tree0389e47453c98625de7f76ad5bdfdafaf104216d /ext/soap/php_sdl.h
parent5ae549c8fdde18b3891ff733a93dc5ff80c2a471 (diff)
downloadphp-git-b06436f171ffb6eae91af5a4269d5fd56780693c.tar.gz
Fixed bug #49144 (import of schema from different host transmits original authentication details)
Diffstat (limited to 'ext/soap/php_sdl.h')
-rw-r--r--ext/soap/php_sdl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/soap/php_sdl.h b/ext/soap/php_sdl.h
index afaf303f60..73056096e9 100644
--- a/ext/soap/php_sdl.h
+++ b/ext/soap/php_sdl.h
@@ -76,6 +76,8 @@ typedef struct sdlCtx {
HashTable *attributes; /* array of sdlAttributePtr */
HashTable *attributeGroups; /* array of sdlTypesPtr */
+ php_stream_context *context;
+ zval *old_header;
} sdlCtx;
struct _sdlBinding {
@@ -264,4 +266,7 @@ sdlBindingPtr get_binding_from_name(sdlPtr sdl, char *name, char *ns);
void delete_sdl(void *handle);
void delete_sdl_impl(void *handle);
+void sdl_set_uri_credentials(sdlCtx *ctx, char *uri TSRMLS_DC);
+void sdl_restore_uri_credentials(sdlCtx *ctx TSRMLS_DC);
+
#endif