ReactOS 0.4.16-dev-91-g764881a
|
#include "config.h"
#include <stdarg.h>
#include <stdlib.h>
#include "windef.h"
#include "winbase.h"
#include "winsock2.h"
#include "ws2ipdef.h"
#include "ws2tcpip.h"
#include "winhttp.h"
#include "winreg.h"
#include "wine/winternl.h"
#include "ole2.h"
#include "dispex.h"
#include "activscp.h"
#include "wine/debug.h"
#include "winhttp_private.h"
Go to the source code of this file.
Classes | |
struct | connection_settings_header |
struct | AUTO_PROXY_SCRIPT_BUFFER |
Macros | |
#define | COBJMACROS |
#define | DEFAULT_RESOLVE_TIMEOUT 0 |
#define | DEFAULT_CONNECT_TIMEOUT 20000 |
#define | DEFAULT_SEND_TIMEOUT 30000 |
#define | DEFAULT_RECEIVE_TIMEOUT 30000 |
#define | DEFAULT_RECEIVE_RESPONSE_TIMEOUT ~0u |
#define | MAX_HOST_NAME_LENGTH 256 |
#define | INTERNET_MAX_URL_LENGTH 2084 |
Variables | |
static const struct object_vtbl | session_vtbl |
static const struct object_vtbl | connect_vtbl |
static const struct object_vtbl | request_vtbl |
static const WCHAR | Connections [] |
static const WCHAR | WinHttpSettings [] |
static const DWORD | WINHTTP_SETTINGS_MAGIC = 0x18 |
static const DWORD | WININET_SETTINGS_MAGIC = 0x46 |
static const DWORD | PROXY_TYPE_DIRECT = 1 |
static const DWORD | PROXY_TYPE_PROXY = 2 |
static const DWORD | PROXY_USE_PAC_SCRIPT = 4 |
static const DWORD | PROXY_AUTODETECT_SETTINGS = 8 |
static const WCHAR | wkday [7][4] |
static const WCHAR | month [12][4] |
Definition at line 1087 of file session.c.
Referenced by WinHttpOpenRequest().
|
static |
Definition at line 672 of file session.c.
Referenced by request_query_option().
Definition at line 876 of file session.c.
Referenced by request_set_option().
Definition at line 1362 of file session.c.
Referenced by WinHttpDetectAutoProxyConfigUrl().
|
static |
|
static |
Definition at line 333 of file session.c.
Definition at line 1525 of file session.c.
Referenced by WinHttpGetDefaultProxyConfiguration(), and WinHttpGetIEProxyConfigForCurrentUser().
Definition at line 684 of file session.c.
Referenced by request_query_option().
Definition at line 391 of file session.c.
Referenced by should_bypass_proxy().
Definition at line 1778 of file session.c.
Referenced by WinHttpGetProxyForUrl().
|
static |
Definition at line 1332 of file session.c.
Referenced by WinHttpDetectAutoProxyConfigUrl().
Definition at line 1384 of file session.c.
Referenced by WinHttpDetectAutoProxyConfigUrl().
Definition at line 111 of file main.c.
Referenced by run_script().
Referenced by run_script().
BOOL WINAPI InternetInitializeAutoProxyDll | ( | DWORD | , |
LPSTR | , | ||
LPSTR | , | ||
void * | , | ||
struct AUTO_PROXY_SCRIPT_BUFFER * | |||
) |
Referenced by run_script().
Definition at line 1348 of file session.c.
Referenced by WinHttpDetectAutoProxyConfigUrl().
|
static |
Definition at line 1744 of file session.c.
Referenced by run_script().
|
static |
Definition at line 1212 of file session.c.
Referenced by WinHttpQueryOption().
|
static |
Definition at line 604 of file session.c.
|
static |
Definition at line 710 of file session.c.
|
static |
Definition at line 889 of file session.c.
|
static |
Definition at line 1849 of file session.c.
Referenced by WinHttpGetProxyForUrl().
Definition at line 55 of file session.c.
Referenced by close_connection(), handle_redirect(), open_connection(), query_data_available(), read_data(), read_more_data(), receive_response(), release_object(), send_request(), WinHttpConnect(), WinHttpOpenRequest(), and write_data().
|
static |
|
static |
|
static |
Definition at line 147 of file session.c.
|
static |
Definition at line 1273 of file session.c.
Referenced by WinHttpSetOption().
Definition at line 476 of file session.c.
Referenced by handle_redirect(), and WinHttpConnect().
Definition at line 445 of file session.c.
Referenced by set_server_for_hostname().
Definition at line 660 of file session.c.
Referenced by request_query_option().
WINE_DEFAULT_DEBUG_CHANNEL | ( | winhttp | ) |
Definition at line 1195 of file session.c.
Referenced by close_request(), do_request(), download_script(), free_request(), reset_request(), test_async(), test_bad_header(), test_basic_authentication(), test_basic_request(), test_chunked_read(), test_connection_cache(), test_connection_info(), test_cookies(), test_credentials(), test_empty_headers_param(), test_head_request(), test_large_data_authentication(), test_multi_authentication(), test_multiple_reads(), test_no_content(), test_no_headers(), test_not_modified(), test_passport_auth(), test_redirect(), test_request_parameter_defaults(), test_request_path_escapes(), test_resolve_timeout(), test_secure_connection(), test_timeouts(), test_WinHttpAddHeaders(), test_WinHttpGetProxyForUrl(), test_WinHttpOpenRequest(), test_WinHttpQueryOption(), test_WinHttpSendRequest(), transfer_file_http(), and winhttp_request_Open().
HINTERNET WINAPI WinHttpConnect | ( | HINTERNET | hsession, |
LPCWSTR | server, | ||
INTERNET_PORT | port, | ||
DWORD | reserved | ||
) |
Definition at line 541 of file session.c.
Referenced by download_script(), open_async_request(), test_async(), test_bad_header(), test_basic_authentication(), test_basic_request(), test_chunked_read(), test_connection_cache(), test_connection_info(), test_cookies(), test_credentials(), test_empty_headers_param(), test_head_request(), test_large_data_authentication(), test_multi_authentication(), test_multiple_reads(), test_no_content(), test_no_headers(), test_not_modified(), test_passport_auth(), test_redirect(), test_request_parameter_defaults(), test_request_path_escapes(), test_resolve_timeout(), test_secure_connection(), test_timeouts(), test_WinHttpAddHeaders(), test_WinHttpOpenRequest(), test_WinHttpQueryOption(), test_WinHttpSendRequest(), transfer_file_http(), and winhttp_request_Open().
Definition at line 1423 of file session.c.
Referenced by test_WinHttpDetectAutoProxyConfigUrl(), and WinHttpGetProxyForUrl().
BOOL WINAPI WinHttpGetDefaultProxyConfiguration | ( | WINHTTP_PROXY_INFO * | info | ) |
Definition at line 1537 of file session.c.
Referenced by proxy_active(), and WinHttpOpen().
BOOL WINAPI WinHttpGetIEProxyConfigForCurrentUser | ( | WINHTTP_CURRENT_USER_IE_PROXY_CONFIG * | config | ) |
Definition at line 1664 of file session.c.
Referenced by test_WinHttpGetIEProxyConfigForCurrentUser().
BOOL WINAPI WinHttpGetProxyForUrl | ( | HINTERNET | hsession, |
LPCWSTR | url, | ||
WINHTTP_AUTOPROXY_OPTIONS * | options, | ||
WINHTTP_PROXY_INFO * | info | ||
) |
Definition at line 1892 of file session.c.
Referenced by test_WinHttpGetProxyForUrl().
HINTERNET WINAPI WinHttpOpen | ( | LPCWSTR | agent, |
DWORD | access, | ||
LPCWSTR | proxy, | ||
LPCWSTR | bypass, | ||
DWORD | flags | ||
) |
Definition at line 250 of file session.c.
Referenced by download_script(), open_async_request(), test_async(), test_bad_header(), test_basic_authentication(), test_basic_request(), test_chunked_read(), test_connection_cache(), test_connection_info(), test_cookies(), test_credentials(), test_empty_headers_param(), test_head_request(), test_large_data_authentication(), test_multi_authentication(), test_multiple_reads(), test_no_content(), test_no_headers(), test_not_modified(), test_passport_auth(), test_redirect(), test_request_parameter_defaults(), test_request_path_escapes(), test_resolve_timeout(), test_secure_connection(), test_timeouts(), test_WinHttpAddHeaders(), test_WinHttpGetProxyForUrl(), test_WinHttpOpenRequest(), test_WinHttpQueryOption(), test_WinHttpSendRequest(), transfer_file_http(), and winhttp_request_Open().
HINTERNET WINAPI WinHttpOpenRequest | ( | HINTERNET | hconnect, |
LPCWSTR | verb, | ||
LPCWSTR | object, | ||
LPCWSTR | version, | ||
LPCWSTR | referrer, | ||
LPCWSTR * | types, | ||
DWORD | flags | ||
) |
Definition at line 1117 of file session.c.
Referenced by do_request(), download_script(), open_async_request(), test_async(), test_bad_header(), test_basic_authentication(), test_basic_request(), test_chunked_read(), test_connection_cache(), test_connection_info(), test_cookies(), test_credentials(), test_empty_headers_param(), test_head_request(), test_large_data_authentication(), test_multi_authentication(), test_multiple_reads(), test_no_content(), test_no_headers(), test_not_modified(), test_passport_auth(), test_redirect(), test_request_parameter_defaults(), test_resolve_timeout(), test_secure_connection(), test_timeouts(), test_WinHttpAddHeaders(), test_WinHttpOpenRequest(), test_WinHttpQueryOption(), test_WinHttpSendRequest(), transfer_file_http(), and winhttp_request_Open().
Definition at line 1253 of file session.c.
Referenced by check_notification(), test_basic_request(), test_connection_info(), test_credentials(), test_secure_connection(), test_timeouts(), test_WinHttpQueryOption(), and test_WinHttpSendRequest().
BOOL WINAPI WinHttpSetDefaultProxyConfiguration | ( | WINHTTP_PROXY_INFO * | info | ) |
Definition at line 1948 of file session.c.
Referenced by test_set_default_proxy_config().
Definition at line 1312 of file session.c.
Referenced by open_async_request(), request_set_parameters(), test_async(), test_basic_authentication(), test_basic_request(), test_connection_cache(), test_credentials(), test_passport_auth(), test_redirect(), test_resolve_timeout(), test_secure_connection(), test_timeouts(), test_WinHttpQueryOption(), test_WinHttpSendRequest(), transfer_file_http(), and winhttp_request_Open().
WINHTTP_STATUS_CALLBACK WINAPI WinHttpSetStatusCallback | ( | HINTERNET | handle, |
WINHTTP_STATUS_CALLBACK | callback, | ||
DWORD | flags, | ||
DWORD_PTR | reserved | ||
) |
Definition at line 2056 of file session.c.
Referenced by open_async_request(), test_async(), test_connection_cache(), test_redirect(), test_secure_connection(), transfer_file_http(), and wait_set_status_callback().
BOOL WINAPI WinHttpSetTimeouts | ( | HINTERNET | handle, |
int | resolve, | ||
int | connect, | ||
int | send, | ||
int | receive | ||
) |
Definition at line 2081 of file session.c.
Referenced by request_set_parameters(), and test_timeouts().
BOOL WINAPI WinHttpTimeFromSystemTime | ( | const SYSTEMTIME * | time, |
LPWSTR | string | ||
) |
Definition at line 2158 of file session.c.
Referenced by test_IWinHttpRequest(), test_not_modified(), and test_WinHttpTimeFromSystemTime().
BOOL WINAPI WinHttpTimeToSystemTime | ( | LPCWSTR | string, |
SYSTEMTIME * | time | ||
) |
Definition at line 2188 of file session.c.
Referenced by query_headers(), and test_WinHttpTimeToSystemTime().
|
static |
Definition at line 384 of file session.c.
Referenced by WinHttpConnect().
Definition at line 1502 of file session.c.
Referenced by BuildUSBAudioFilterTopology(), WinHttpGetDefaultProxyConfiguration(), WinHttpGetIEProxyConfigForCurrentUser(), and WinHttpSetDefaultProxyConfiguration().
Definition at line 2150 of file session.c.
Referenced by _gmtime_worker(), _Locale_abbrev_monthname(), _Locale_full_monthname(), _Locale_time_create(), _WLocale_abbrev_monthname(), _WLocale_full_monthname(), convert_bios_date(), create_utc_string(), date_dos2unix(), date_parse(), Date_setFullYear(), Date_setMonth(), Date_setUTCFullYear(), Date_setUTCMonth(), date_to_string(), date_utc(), dateobj_to_date_string(), day_from_month(), fill_systime_struct(), Global_MonthName(), HTTP_ParseDateAsAsctime(), HTTP_ParseMonth(), HTTP_ParseRfc1123Date(), HTTP_ParseRfc850Date(), make_day(), MONTHCAL_GetDayRect(), MONTHCAL_MonthLength(), MONTHCAL_SetCurSel(), MONTHCAL_SetSelRange(), test_GetDateFormatA(), test_strdate(), test_wstrdate(), VARIANT_DMYFromJulian(), VARIANT_IsValidMonthDay(), VARIANT_JulianFromDMY(), vsyslog(), WinHttpTimeFromSystemTime(), and WinHttpTimeToSystemTime().
Definition at line 1516 of file session.c.
Referenced by WinHttpGetIEProxyConfigForCurrentUser().
Definition at line 1513 of file session.c.
Referenced by WinHttpSetDefaultProxyConfiguration().
Definition at line 1514 of file session.c.
Referenced by WinHttpGetDefaultProxyConfiguration(), WinHttpGetIEProxyConfigForCurrentUser(), and WinHttpSetDefaultProxyConfiguration().
Definition at line 1515 of file session.c.
Referenced by WinHttpGetIEProxyConfigForCurrentUser().
|
static |
Definition at line 1080 of file session.c.
Referenced by WinHttpOpenRequest().
|
static |
Definition at line 236 of file session.c.
Referenced by WinHttpOpen().
Definition at line 1511 of file session.c.
Referenced by WinHttpGetDefaultProxyConfiguration(), and WinHttpSetDefaultProxyConfiguration().
Definition at line 1509 of file session.c.
Referenced by WinHttpGetDefaultProxyConfiguration(), and WinHttpSetDefaultProxyConfiguration().
Definition at line 1512 of file session.c.
Referenced by WinHttpGetIEProxyConfigForCurrentUser().
Definition at line 2147 of file session.c.
Referenced by WinHttpTimeFromSystemTime(), and WinHttpTimeToSystemTime().