mirror of
https://github.com/php/php-src.git
synced 2024-11-25 19:05:31 +08:00
26 lines
687 B
C
26 lines
687 B
C
#ifndef PHP_HTTP_H
|
|
#define PHP_HTTP_H
|
|
|
|
void send_http_soap_request(zval *this_ptr, xmlDoc *doc, char *function_name, char *soapaction);
|
|
void get_http_soap_response(zval *this_ptr, char **buffer, int *buffer_len);
|
|
|
|
char *get_http_header_value(char *headers, char *type);
|
|
int get_http_body(SOAP_STREAM socketd, char *headers, char **response, int *out_size);
|
|
int get_http_headers(SOAP_STREAM socketd,char **response, int *out_size);
|
|
|
|
#ifndef PHP_STREAMS
|
|
#ifndef ZEND_WIN32
|
|
# ifndef closesocket
|
|
# define closesocket close
|
|
# endif
|
|
#endif
|
|
|
|
#ifndef SOCK_CLOSE
|
|
# define SOCK_CLOSE(s) shutdown(s, 0); closesocket(s)
|
|
#endif
|
|
|
|
SOCKET get_socket(char* host,int portno,int timeout);
|
|
#endif
|
|
|
|
#endif
|