php_http.h 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. +----------------------------------------------------------------------+
  3. | PHP Version 5 |
  4. +----------------------------------------------------------------------+
  5. | Copyright (c) 1997-2016 The PHP Group |
  6. +----------------------------------------------------------------------+
  7. | This source file is subject to version 3.01 of the PHP license, |
  8. | that is bundled with this package in the file LICENSE, and is |
  9. | available through the world-wide-web at the following url: |
  10. | http://www.php.net/license/3_01.txt |
  11. | If you did not receive a copy of the PHP license and are unable to |
  12. | obtain it through the world-wide-web, please send a note to |
  13. | license@php.net so we can mail you a copy immediately. |
  14. +----------------------------------------------------------------------+
  15. | Authors: Brad Lafountain <rodif_bl@yahoo.com> |
  16. | Shane Caraveo <shane@caraveo.com> |
  17. | Dmitry Stogov <dmitry@zend.com> |
  18. +----------------------------------------------------------------------+
  19. */
  20. /* $Id$ */
  21. #ifndef PHP_HTTP_H
  22. #define PHP_HTTP_H
  23. int make_http_soap_request(zval *this_ptr,
  24. char *request,
  25. int request_size,
  26. char *location,
  27. char *soapaction,
  28. int soap_version,
  29. char **response,
  30. int *response_len TSRMLS_DC);
  31. int proxy_authentication(zval* this_ptr, smart_str* soap_headers TSRMLS_DC);
  32. int basic_authentication(zval* this_ptr, smart_str* soap_headers TSRMLS_DC);
  33. void http_context_headers(php_stream_context* context,
  34. zend_bool has_authorization,
  35. zend_bool has_proxy_authorization,
  36. zend_bool has_cookies,
  37. smart_str* soap_headers TSRMLS_DC);
  38. #endif