--- embedaddon/php/ext/soap/php_http.h 2012/02/21 23:48:01 1.1 +++ embedaddon/php/ext/soap/php_http.h 2014/06/15 20:03:55 1.1.1.4 @@ -2,7 +2,7 @@ +----------------------------------------------------------------------+ | PHP Version 5 | +----------------------------------------------------------------------+ - | Copyright (c) 1997-2012 The PHP Group | + | Copyright (c) 1997-2014 The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | @@ -17,7 +17,7 @@ | Dmitry Stogov | +----------------------------------------------------------------------+ */ -/* $Id: php_http.h,v 1.1 2012/02/21 23:48:01 misho Exp $ */ +/* $Id: php_http.h,v 1.1.1.4 2014/06/15 20:03:55 misho Exp $ */ #ifndef PHP_HTTP_H #define PHP_HTTP_H @@ -31,6 +31,11 @@ int make_http_soap_request(zval *this_ptr, char **response, int *response_len TSRMLS_DC); -void proxy_authentication(zval* this_ptr, smart_str* soap_headers TSRMLS_DC); -void basic_authentication(zval* this_ptr, smart_str* soap_headers TSRMLS_DC); +int proxy_authentication(zval* this_ptr, smart_str* soap_headers TSRMLS_DC); +int basic_authentication(zval* this_ptr, smart_str* soap_headers TSRMLS_DC); +void http_context_headers(php_stream_context* context, + zend_bool has_authorization, + zend_bool has_proxy_authorization, + zend_bool has_cookies, + smart_str* soap_headers TSRMLS_DC); #endif