|
ReactOS 0.4.17-dev-1190-g4c812f4
|
#include "winsock2.h"#include "ws2ipdef.h"#include <string.h>#include <stdarg.h>#include <stdio.h>#include <stdlib.h>#include <ctype.h>#include <assert.h>#include <wchar.h>#include "windef.h"#include "winbase.h"#include "winreg.h"#include "winuser.h"#include "wininet.h"#include "winnls.h"#include "wine/debug.h"#include "winerror.h"#include "shlwapi.h"#include "ws2tcpip.h"#include "winternl.h"#include "iphlpapi.h"#include "dhcpcsdk.h"#include "internet.h"#include "resource.h"
Go to the source code of this file.
Classes | |
| struct | WITHREADERROR |
| struct | proxyinfo_t |
| struct | connection_settings |
| struct | open_url_task_t |
Macros | |
| #define | NO_SHLWAPI_STREAM |
| #define | CONNECTION_SETTINGS_VERSION 0x46 |
| #define | FE(x) { x, #x } |
| #define | FE(x) { x, #x } |
| #define | MAX_WORD_DIGITS 5 |
| #define | URL_GET_COMP_LENGTH(url, component) |
| #define | URL_GET_COMP_LENGTHA(url, component) |
Typedefs | |
| typedef struct WITHREADERROR * | LPWITHREADERROR |
Variables | |
| static DWORD | g_dwTlsErrIndex = TLS_OUT_OF_INDEXES |
| HMODULE | WININET_hModule |
| static CRITICAL_SECTION | WININET_cs = { &WININET_cs_debug, -1, 0, 0, 0, 0 } |
| static CRITICAL_SECTION_DEBUG | WININET_cs_debug |
| static object_header_t ** | handle_table |
| static UINT_PTR | next_handle |
| static UINT_PTR | handle_table_size |
| static ULONG | max_conns = 2 |
| static ULONG | max_1_0_conns = 4 |
| static ULONG | connect_timeout = 60000 |
| static ULONG | send_timeout = 60000 |
| static ULONG | receive_timeout = 60000 |
| static ULONG | data_send_timeout = 60000 |
| static ULONG | data_receive_timeout = 60000 |
| static const WCHAR | szInternetSettings [] |
| static proxyinfo_t | global_proxy |
| static const object_vtbl_t | APPINFOVtbl |
| static const WCHAR * | url_schemes [] |
| static const WCHAR | WININET_wkday [7][4] |
| static const WCHAR | WININET_month [12][4] |
| static DWORD | zone_preference = 3 |
| #define CONNECTION_SETTINGS_VERSION 0x46 |
Definition at line 96 of file internet.c.
| #define MAX_WORD_DIGITS 5 |
Definition at line 4782 of file internet.c.
| #define NO_SHLWAPI_STREAM |
Definition at line 51 of file internet.c.
Definition at line 4784 of file internet.c.
| typedef struct WITHREADERROR * LPWITHREADERROR |
| void * alloc_async_task | ( | object_header_t * | hdr, |
| async_task_proc_t | proc, | ||
| size_t | size | ||
| ) |
Definition at line 4513 of file internet.c.
Referenced by async_read(), FtpCreateDirectoryW(), FtpDeleteFileW(), FTPFILE_QueryDataAvailable(), FtpFindFirstFileW(), FTPFINDNEXT_FindNextFileW(), FtpGetCurrentDirectoryW(), FtpGetFileW(), FtpOpenFileW(), FtpPutFileW(), FtpRemoveDirectoryW(), FtpRenameFileW(), FtpSetCurrentDirectoryW(), HttpEndRequestW(), HttpSendRequestExW(), HttpSendRequestW(), and InternetOpenUrlW().
| void * alloc_object | ( | object_header_t * | parent, |
| const object_vtbl_t * | vtbl, | ||
| size_t | size | ||
| ) |
Definition at line 124 of file internet.c.
Referenced by FTP_Connect(), FTP_FtpOpenFileW(), FTP_ReceiveFileList(), HTTP_Connect(), HTTP_HttpOpenRequestW(), and InternetOpenW().
|
static |
Definition at line 998 of file internet.c.
Referenced by query_global_option().
|
static |
Definition at line 1042 of file internet.c.
Referenced by query_global_option().
|
static |
Definition at line 1248 of file internet.c.
|
static |
Definition at line 4329 of file internet.c.
Referenced by InternetOpenUrlW().
Definition at line 2849 of file internet.c.
Referenced by detect_proxy_autoconfig_url_dns().
|
static |
Definition at line 4835 of file internet.c.
Referenced by InternetCreateUrlW().
|
static |
Definition at line 668 of file internet.c.
Referenced by load_connection_settings().
|
static |
Definition at line 356 of file internet.c.
Referenced by save_connection_settings().
Definition at line 2386 of file internet.c.
Referenced by InternetCanonicalizeUrlA(), and InternetCanonicalizeUrlW().
|
static |
Definition at line 4916 of file internet.c.
Referenced by InternetCreateUrlA().
Definition at line 1026 of file internet.c.
Referenced by APPINFO_QueryOption(), and query_global_option().
Definition at line 1011 of file internet.c.
Referenced by APPINFO_QueryOption(), and query_global_option().
| DWORD create_req_file | ( | const WCHAR * | file_name, |
| req_file_t ** | ret | ||
| ) |
Definition at line 4607 of file internet.c.
Referenced by create_cache_entry().
| BOOL WINAPI CreateMD5SSOHash | ( | PWSTR | pszChallengeInfo, |
| PWSTR | pwszRealm, | ||
| PWSTR | pwszTarget, | ||
| PBYTE | pbHexHash | ||
| ) |
Definition at line 5315 of file internet.c.
Definition at line 2762 of file internet.c.
Referenced by get_proxy_autoconfig_url().
Definition at line 2869 of file internet.c.
Referenced by get_proxy_autoconfig_url().
| BOOL WINAPI DetectAutoProxyUrl | ( | LPSTR | lpszAutoProxyUrl, |
| DWORD | dwAutoProxyUrlLength, | ||
| DWORD | dwDetectFlags | ||
| ) |
Definition at line 350 of file internet.c.
Definition at line 299 of file internet.c.
Definition at line 944 of file internet.c.
Referenced by InternetOpenUrlW(), and InternetOpenW().
|
static |
Definition at line 597 of file internet.c.
Referenced by free_global_proxy(), INTERNET_ConfigureProxy(), INTERNET_LoadProxySettings(), InternetSetOptionW(), load_connection_settings(), and query_global_option().
|
static |
Definition at line 2743 of file internet.c.
Referenced by detect_proxy_autoconfig_url_dhcp().
|
static |
Definition at line 2819 of file internet.c.
Referenced by detect_proxy_autoconfig_url_dns().
| object_header_t * get_handle_object | ( | HINTERNET | hinternet | ) |
Definition at line 209 of file internet.c.
Referenced by FtpCommandW(), FtpCreateDirectoryW(), FtpDeleteFileW(), FtpFindFirstFileW(), FtpGetCurrentDirectoryW(), FtpGetFileW(), FtpOpenFileW(), FtpPutFileW(), FtpRemoveDirectoryW(), FtpRenameFileW(), FtpSetCurrentDirectoryW(), HttpAddRequestHeadersW(), HttpEndRequestW(), HttpOpenRequestW(), HttpQueryInfoW(), HttpSendRequestExW(), HttpSendRequestW(), InternetCloseHandle(), InternetConnectW(), InternetErrorDlg(), InternetFindNextFileW(), InternetLockRequestFile(), InternetOpenUrlW(), InternetQueryDataAvailable(), InternetQueryOptionA(), InternetQueryOptionW(), InternetReadFile(), InternetReadFileExA(), InternetReadFileExW(), InternetSetFilePointer(), InternetSetOptionW(), InternetSetStatusCallbackA(), InternetSetStatusCallbackW(), and InternetWriteFile().
Definition at line 651 of file internet.c.
Referenced by INTERNET_ConfigureProxy().
Definition at line 2918 of file internet.c.
Referenced by APPINFO_QueryOption(), and query_global_option().
|
static |
Definition at line 2027 of file internet.c.
Referenced by calc_url_length(), InternetCrackUrlW(), and InternetCreateUrlW().
| DWORD INET_QueryOption | ( | object_header_t * | hdr, |
| DWORD | option, | ||
| void * | buffer, | ||
| DWORD * | size, | ||
| BOOL | unicode | ||
| ) |
Definition at line 3159 of file internet.c.
Referenced by APPINFO_QueryOption(), FTPFILE_QueryOption(), FTPFINDNEXT_QueryOption(), FTPSESSION_QueryOption(), and HTTPSESSION_QueryOption().
| DWORD INET_SetOption | ( | object_header_t * | hdr, |
| DWORD | option, | ||
| void * | buf, | ||
| DWORD | size | ||
| ) |
Definition at line 3309 of file internet.c.
Referenced by APPINFO_SetOption(), HTTPREQ_SetOption(), HTTPSESSION_SetOption(), and set_global_option().
Definition at line 860 of file internet.c.
Referenced by INTERNET_GetProxySettings().
|
static |
Definition at line 4429 of file internet.c.
Referenced by INTERNET_GetResponseBuffer(), and INTERNET_SetLastError().
| DWORD INTERNET_AsyncCall | ( | task_header_t * | task | ) |
Definition at line 4534 of file internet.c.
Referenced by async_read(), FtpCreateDirectoryW(), FtpDeleteFileW(), FTPFILE_QueryDataAvailable(), FtpFindFirstFileW(), FTPFINDNEXT_FindNextFileW(), FtpGetCurrentDirectoryW(), FtpGetFileW(), FtpOpenFileW(), FtpPutFileW(), FtpRemoveDirectoryW(), FtpRenameFileW(), FtpSetCurrentDirectoryW(), HttpEndRequestW(), HttpSendRequestExW(), HttpSendRequestW(), and InternetOpenUrlW().
Definition at line 910 of file internet.c.
Referenced by InternetOpenW(), and query_global_option().
Definition at line 511 of file internet.c.
Referenced by HTTP_DealWithProxy().
Definition at line 4477 of file internet.c.
Referenced by FTP_FtpCreateDirectoryW(), FTP_FtpDeleteFileW(), FTP_FtpFindFirstFileW(), FTP_FtpGetFileW(), FTP_FtpOpenFileW(), FTP_FtpPutFileW(), FTP_FtpRemoveDirectoryW(), FTP_FtpRenameFileW(), FTP_ReceiveRequestData(), HTTP_HandleRedirect(), and InternetConnectW().
|
static |
Definition at line 892 of file internet.c.
Referenced by INTERNET_ConfigureProxy().
Definition at line 4556 of file internet.c.
Referenced by FTP_DoPassive(), FTP_FtpGetCurrentDirectoryW(), FTP_GetNextLine(), and FTP_ReceiveResponse().
|
static |
Definition at line 4821 of file internet.c.
Referenced by calc_url_length(), and InternetCreateUrlW().
|
static |
Definition at line 4222 of file internet.c.
Referenced by AsyncInternetOpenUrlProc(), and InternetOpenUrlW().
|
static |
Definition at line 753 of file internet.c.
Referenced by init_global_proxy(), InternetSetOptionW(), and query_global_option().
|
static |
Definition at line 406 of file internet.c.
Referenced by InternetSetOptionW().
Definition at line 4456 of file internet.c.
Referenced by calc_url_length(), FTP_Connect(), FTP_FtpCreateDirectoryW(), FTP_FtpDeleteFileW(), FTP_FtpFindFirstFileW(), FTP_FtpGetCurrentDirectoryW(), FTP_FtpGetFileW(), FTP_FtpOpenFileW(), FTP_FtpPutFileW(), FTP_FtpRemoveDirectoryW(), FTP_FtpRenameFileW(), FTP_FtpSetCurrentDirectoryW(), FTP_GetNextLine(), FTP_ParseDirectory(), FTP_RetrieveFileData(), FTP_SendCommandA(), FTP_SetResponseError(), FtpCommandA(), FtpCommandW(), FtpCreateDirectoryW(), FtpDeleteFileW(), FtpFindFirstFileW(), FtpGetCurrentDirectoryA(), FtpGetCurrentDirectoryW(), FtpGetFileW(), FtpOpenFileW(), FtpPutFileW(), FtpRemoveDirectoryW(), FtpRenameFileW(), FtpSetCurrentDirectoryW(), GetUrlCacheConfigInfoA(), GetUrlCacheConfigInfoW(), INTERNET_InternetOpenUrlW(), InternetCheckConnectionW(), InternetCreateUrlW(), InternetOpenW(), InternetReadFile(), InternetReadFileExA(), InternetReadFileExW(), and res_to_le().
Definition at line 4495 of file internet.c.
Referenced by INTERNET_AsyncCall().
Definition at line 2368 of file internet.c.
Definition at line 4701 of file internet.c.
Definition at line 4721 of file internet.c.
| BOOL WINAPI InternetCanonicalizeUrlA | ( | LPCSTR | lpszUrl, |
| LPSTR | lpszBuffer, | ||
| LPDWORD | lpdwBufferLength, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 2411 of file internet.c.
Referenced by InternetCanonicalizeUrl_test(), InternetOpenUrlA_test(), and test_InternetCanonicalizeUrlA().
| BOOL WINAPI InternetCanonicalizeUrlW | ( | LPCWSTR | lpszUrl, |
| LPWSTR | lpszBuffer, | ||
| LPDWORD | lpdwBufferLength, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 2437 of file internet.c.
Referenced by InternetCrackUrlW(), and SetFriendlyUrl().
Definition at line 4196 of file internet.c.
Definition at line 4080 of file internet.c.
Referenced by InternetCheckConnectionA().
Definition at line 1841 of file internet.c.
Referenced by _close_request(), AsyncInetCancel(), AsyncInetCleanUp(), AsyncInetFree(), can_do_https(), close_async_handle(), CRYPT_Connect(), get_internet_session(), HTTP_RetrieveEncodedObjectW(), HttpHeaders_test(), HttpSendRequestEx_test(), INTERNET_InternetOpenUrlW(), InternetLockRequestFile_test(), InternetOpenRequest_test(), InternetOpenUrlA_test(), InternetReadFile_chunked_test(), InternetSetFilePointer_test(), CDownloadManager::PerformDownloadAndInstall(), process_detach(), protocol_close_connection(), rpcrt4_ncacn_http_close(), START_TEST(), test_accept_encoding(), test_async_HttpSendRequestEx(), test_basic_auth_credentials_cached_manual(), test_basic_auth_credentials_different(), test_basic_auth_credentials_end_session(), test_basic_auth_credentials_manual(), test_basic_auth_credentials_reuse(), test_basic_authentication(), test_bogus_accept_types_array(), test_cache_control_verb(), test_cache_read_gzipped(), test_cert_string(), test_concurrent_header_access(), test_connect(), test_connection_header(), test_cookie_header(), test_default_service_port(), test_find_first_file(), test_header_handling_order(), test_header_override(), test_http_cache(), test_HttpSendRequestW(), test_InternetCloseHandle(), test_InternetErrorDlg(), test_InternetQueryOptionA(), test_InternetSetOption(), test_large_header(), test_no_cache(), test_not_modified(), test_null(), test_open_url_async(), test_openfile(), test_Option_PerConnectionOption(), test_Option_PerConnectionOptionA(), test_options(), test_proxy_direct(), test_secure_connection(), test_status_callbacks(), test_user_agent_header(), verify_cert_revocation_with_ocsp(), and CWebServiceWinInet::~CWebServiceWinInet().
| BOOL WINAPI InternetCombineUrlA | ( | LPCSTR | lpszBaseUrl, |
| LPCSTR | lpszRelativeUrl, | ||
| LPSTR | lpszBuffer, | ||
| LPDWORD | lpdwBufferLength, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 4740 of file internet.c.
| BOOL WINAPI InternetCombineUrlW | ( | LPCWSTR | lpszBaseUrl, |
| LPCWSTR | lpszRelativeUrl, | ||
| LPWSTR | lpszBuffer, | ||
| LPDWORD | lpdwBufferLength, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 4766 of file internet.c.
Referenced by get_redirect_url().
| DWORD WINAPI InternetConfirmZoneCrossingA | ( | HWND | hWnd, |
| LPSTR | szUrlPrev, | ||
| LPSTR | szUrlNew, | ||
| BOOL | bPost | ||
| ) |
Definition at line 5177 of file internet.c.
| DWORD WINAPI InternetConfirmZoneCrossingW | ( | HWND | hWnd, |
| LPWSTR | szUrlPrev, | ||
| LPWSTR | szUrlNew, | ||
| BOOL | bPost | ||
| ) |
Definition at line 5187 of file internet.c.
| HINTERNET WINAPI InternetConnectA | ( | HINTERNET | hInternet, |
| LPCSTR | lpszServerName, | ||
| INTERNET_PORT | nServerPort, | ||
| LPCSTR | lpszUserName, | ||
| LPCSTR | lpszPassword, | ||
| DWORD | dwService, | ||
| DWORD | dwFlags, | ||
| DWORD_PTR | dwContext | ||
| ) |
Definition at line 1748 of file internet.c.
Referenced by _open_simple_request(), can_do_https(), CWebServiceWinInet::DoRequest(), HttpHeaders_test(), HttpSendRequestEx_test(), InternetOpenRequest_test(), InternetReadFile_chunked_test(), InternetReadFile_test(), InternetReadFileExA_test(), InternetSetFilePointer_test(), open_socket_request(), START_TEST(), test_accept_encoding(), test_async_HttpSendRequestEx(), test_async_read(), test_basic_auth_credentials_cached_manual(), test_basic_auth_credentials_different(), test_basic_auth_credentials_end_session(), test_basic_auth_credentials_manual(), test_basic_auth_credentials_reuse(), test_basic_authentication(), test_bogus_accept_types_array(), test_cache_control_verb(), test_cache_read(), test_cache_read_gzipped(), test_cert_string(), test_concurrent_header_access(), test_conn_close(), test_connect(), test_connection_closing(), test_connection_header(), test_cookie_header(), test_default_service_port(), test_header_handling_order(), test_header_override(), test_http_cache(), test_HttpSendRequestW(), test_InternetCloseHandle(), test_InternetErrorDlg(), test_InternetQueryOptionA(), test_InternetSetOption(), test_large_header(), test_no_cache(), test_no_content(), test_not_modified(), test_options(), test_proxy_direct(), test_secure_connection(), test_security_flags(), test_status_callbacks(), test_successive_HttpSendRequest(), and test_user_agent_header().
| HINTERNET WINAPI InternetConnectW | ( | HINTERNET | hInternet, |
| LPCWSTR | lpszServerName, | ||
| INTERNET_PORT | nServerPort, | ||
| LPCWSTR | lpszUserName, | ||
| LPCWSTR | lpszPassword, | ||
| DWORD | dwService, | ||
| DWORD | dwFlags, | ||
| DWORD_PTR | dwContext | ||
| ) |
Definition at line 1685 of file internet.c.
Referenced by CRYPT_Connect(), HttpProtocol_open_request(), InternetConnectA(), rpcrt4_http_internet_connect(), test_null(), test_secure_connection(), and verify_cert_revocation_with_ocsp().
| BOOL WINAPI InternetCrackUrlA | ( | const char * | url, |
| DWORD | url_length, | ||
| DWORD | flags, | ||
| URL_COMPONENTSA * | ret_comp | ||
| ) |
Definition at line 1933 of file internet.c.
Referenced by InternetCrackUrl_test(), test_crack_url(), test_long_url(), urlcache_decode_url(), and urlcache_entry_create().
| BOOL WINAPI InternetCrackUrlW | ( | const WCHAR * | lpszUrl, |
| DWORD | dwUrlLength, | ||
| DWORD | dwFlags, | ||
| URL_COMPONENTSW * | lpUC | ||
| ) |
Definition at line 2052 of file internet.c.
Referenced by cookie_parse_url(), CRYPT_CrackUrl(), CRYPT_GetRetrieveFunction(), File_RetrieveEncodedObjectW(), get_redirect_url(), get_url_components(), HTTP_DealWithProxy(), HTTP_HandleRedirect(), INTERNET_InternetOpenUrlW(), InternetCheckConnectionW(), InternetCrackUrlA(), InternetCrackUrlW(), InternetCrackUrlW_test(), InternetGetSecurityInfoByURLW(), IsUrlValid(), parse_proxy_url(), CDownloadManager::PerformDownloadAndInstall(), test_crack_url(), urlcache_encode_url(), and verify_cert_revocation_with_ocsp().
| BOOL WINAPI InternetCreateUrlA | ( | LPURL_COMPONENTSA | lpUrlComponents, |
| DWORD | dwFlags, | ||
| LPSTR | lpszUrl, | ||
| LPDWORD | lpdwUrlLength | ||
| ) |
Definition at line 4986 of file internet.c.
Referenced by InternetCreateUrlA_test().
| BOOL WINAPI InternetCreateUrlW | ( | LPURL_COMPONENTSW | lpUrlComponents, |
| DWORD | dwFlags, | ||
| LPWSTR | lpszUrl, | ||
| LPDWORD | lpdwUrlLength | ||
| ) |
Definition at line 5050 of file internet.c.
Referenced by FTP_FtpOpenFileW(), get_redirect_url(), HTMLLocation_get_href(), InternetCreateUrlA(), and set_auth_cookie().
| DWORD WINAPI InternetDialA | ( | HWND | hwndParent, |
| LPSTR | lpszConnectoid, | ||
| DWORD | dwFlags, | ||
| DWORD_PTR * | lpdwConnection, | ||
| DWORD | dwReserved | ||
| ) |
Definition at line 5281 of file internet.c.
| DWORD WINAPI InternetDialW | ( | HWND | hwndParent, |
| LPWSTR | lpszConnectoid, | ||
| DWORD | dwFlags, | ||
| DWORD_PTR * | lpdwConnection, | ||
| DWORD | dwReserved | ||
| ) |
Definition at line 5289 of file internet.c.
Definition at line 1782 of file internet.c.
Definition at line 1803 of file internet.c.
Referenced by InternetFindNextFileA().
Definition at line 1534 of file internet.c.
| BOOL WINAPI InternetGetConnectedStateExA | ( | LPDWORD | lpdwStatus, |
| LPSTR | lpszConnectionName, | ||
| DWORD | dwNameLen, | ||
| DWORD | dwReserved | ||
| ) |
Definition at line 1649 of file internet.c.
| BOOL WINAPI InternetGetConnectedStateExW | ( | LPDWORD | lpdwStatus, |
| LPWSTR | lpszConnectionName, | ||
| DWORD | dwNameLen, | ||
| DWORD | dwReserved | ||
| ) |
Definition at line 1569 of file internet.c.
Referenced by InternetGetConnectedState(), and InternetGetConnectedStateExA().
| BOOL WINAPI InternetGetLastResponseInfoA | ( | LPDWORD | lpdwError, |
| LPSTR | lpszBuffer, | ||
| LPDWORD | lpdwBufferLength | ||
| ) |
Definition at line 1442 of file internet.c.
Referenced by test_command(), and trace_extended_error().
| BOOL WINAPI InternetGetLastResponseInfoW | ( | LPDWORD | lpdwError, |
| LPWSTR | lpszBuffer, | ||
| LPDWORD | lpdwBufferLength | ||
| ) |
Definition at line 1489 of file internet.c.
| BOOL WINAPI InternetGetSecurityInfoByURLA | ( | LPSTR | lpszURL, |
| PCCERT_CHAIN_CONTEXT * | ppCertChain, | ||
| DWORD * | pdwSecureFlags | ||
| ) |
Definition at line 5221 of file internet.c.
| BOOL WINAPI InternetGetSecurityInfoByURLW | ( | LPCWSTR | lpszURL, |
| PCCERT_CHAIN_CONTEXT * | ppCertChain, | ||
| DWORD * | pdwSecureFlags | ||
| ) |
Definition at line 5240 of file internet.c.
Referenced by InternetGetSecurityInfoByURLA().
Definition at line 5297 of file internet.c.
Definition at line 5303 of file internet.c.
Definition at line 5309 of file internet.c.
Definition at line 573 of file internet.c.
Definition at line 4651 of file internet.c.
Referenced by InternetLockRequestFile_test(), and protocol_lock_request().
| HINTERNET WINAPI InternetOpenA | ( | LPCSTR | lpszAgent, |
| DWORD | dwAccessType, | ||
| LPCSTR | lpszProxy, | ||
| LPCSTR | lpszProxyBypass, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 1411 of file internet.c.
Referenced by _open_simple_request(), can_do_https(), HttpHeaders_test(), HttpSendRequestEx_test(), InternetOpenRequest_test(), InternetOpenUrlA_test(), InternetReadFile_chunked_test(), InternetReadFile_test(), InternetReadFileExA_test(), InternetSetFilePointer_test(), open_socket_request(), START_TEST(), test_accept_encoding(), test_async_HttpSendRequestEx(), test_async_read(), test_basic_auth_credentials_cached_manual(), test_basic_auth_credentials_different(), test_basic_auth_credentials_end_session(), test_basic_auth_credentials_manual(), test_basic_auth_credentials_reuse(), test_basic_authentication(), test_bogus_accept_types_array(), test_cache_control_verb(), test_cache_read(), test_cache_read_gzipped(), test_cert_string(), test_concurrent_header_access(), test_conn_close(), test_connection_closing(), test_connection_header(), test_cookie_header(), test_default_service_port(), test_header_handling_order(), test_header_override(), test_http_cache(), test_HttpSendRequestW(), test_InternetCloseHandle(), test_InternetErrorDlg(), test_InternetQueryOptionA(), test_InternetSetOption(), test_large_header(), test_no_cache(), test_no_content(), test_not_modified(), test_open_url_async(), test_Option_PerConnectionOption(), test_Option_PerConnectionOptionA(), test_options(), test_proxy_direct(), test_secure_connection(), test_security_flags(), test_successive_HttpSendRequest(), and test_user_agent_header().
| HINTERNET WINAPI InternetOpenUrlA | ( | HINTERNET | hInternet, |
| LPCSTR | lpszUrl, | ||
| LPCSTR | lpszHeaders, | ||
| DWORD | dwHeadersLength, | ||
| DWORD | dwFlags, | ||
| DWORD_PTR | dwContext | ||
| ) |
Definition at line 4398 of file internet.c.
Referenced by InternetOpenUrlA_test(), and test_open_url_async().
| HINTERNET WINAPI InternetOpenUrlW | ( | HINTERNET | hInternet, |
| LPCWSTR | lpszUrl, | ||
| LPCWSTR | lpszHeaders, | ||
| DWORD | dwHeadersLength, | ||
| DWORD | dwFlags, | ||
| DWORD_PTR | dwContext | ||
| ) |
Definition at line 4341 of file internet.c.
Referenced by AsyncInetDownload(), FtpProtocol_open_request(), GopherProtocol_open_request(), InternetOpenUrlA(), CDownloadManager::PerformDownloadAndInstall(), and test_null().
| HINTERNET WINAPI InternetOpenW | ( | LPCWSTR | lpszAgent, |
| DWORD | dwAccessType, | ||
| LPCWSTR | lpszProxy, | ||
| LPCWSTR | lpszProxyBypass, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 1334 of file internet.c.
Referenced by AsyncInetDownload(), create_internet_session(), CRYPT_Connect(), CWebServiceWinInet::CWebServiceWinInet(), InternetOpenA(), CDownloadManager::PerformDownloadAndInstall(), rpcrt4_http_internet_connect(), test_null(), test_proxy_direct(), test_secure_connection(), and verify_cert_revocation_with_ocsp().
| BOOL WINAPI InternetQueryDataAvailable | ( | HINTERNET | hFile, |
| LPDWORD | lpdwNumberOfBytesAvailable, | ||
| DWORD | dwFlags, | ||
| DWORD_PTR | dwContext | ||
| ) |
Definition at line 4578 of file internet.c.
Referenced by _async_query_data_available(), _expect_data_available(), CRYPT_DownloadObject(), CWebServiceWinInet::DoRequest(), InternetReadFile_chunked_test(), InternetReadFile_test(), protocol_continue(), protocol_read(), protocol_syncbinding(), rpcrt4_ncacn_http_wait_for_incoming_data(), test_cache_read(), test_conn_close(), and test_not_modified().
Definition at line 5329 of file internet.c.
| BOOL WINAPI InternetQueryOptionA | ( | HINTERNET | hInternet, |
| DWORD | dwOption, | ||
| LPVOID | lpBuffer, | ||
| LPDWORD | lpdwBufferLength | ||
| ) |
Definition at line 3286 of file internet.c.
Referenced by _test_request_url(), cb(), closetest_callback(), InternetLockRequestFile_test(), InternetReadFile_test(), test_basic_auth_credentials_different(), test_basic_auth_credentials_end_session(), test_basic_auth_credentials_reuse(), test_cert_string(), test_cert_struct(), test_cert_struct_string(), test_http_cache(), test_InternetCloseHandle(), test_InternetQueryOptionA(), test_long_url(), test_max_conns(), test_null(), test_open_url_async(), test_Option_PerConnectionOptionA(), test_options(), test_proxy_direct(), test_secure_connection(), and test_version().
| BOOL WINAPI InternetQueryOptionW | ( | HINTERNET | hInternet, |
| DWORD | dwOption, | ||
| LPVOID | lpBuffer, | ||
| LPDWORD | lpdwBufferLength | ||
| ) |
Definition at line 3253 of file internet.c.
Referenced by _test_http_version(), _test_request_flags(), _test_secflags_option(), HttpInfo_QueryOption(), start_downloading(), test_InternetSetOption(), test_Option_PerConnectionOption(), test_pac(), test_proxy_direct(), test_secure_connection(), test_security_flags(), and WININET_InvalidCertificateDialog().
| BOOL WINAPI InternetReadFile | ( | HINTERNET | hFile, |
| LPVOID | lpBuffer, | ||
| DWORD | dwNumOfBytesToRead, | ||
| LPDWORD | pdwNumOfBytesRead | ||
| ) |
Definition at line 2609 of file internet.c.
Referenced by _read_expect_sync_data_len(), _receive_simple_request(), AsyncInetReadFileLoop(), CWebServiceWinInet::DoRequest(), HttpSendRequestEx_test(), InternetOpenUrlA_test(), InternetReadFile_chunked_test(), InternetReadFile_test(), InternetSetFilePointer_test(), CDownloadManager::PerformDownloadAndInstall(), protocol_read(), read_expect_async(), test_async_read(), test_basic_request(), test_cache_read(), test_cache_read_gzipped(), test_conn_close(), test_head_request(), test_http_cache(), test_no_cache(), test_response_without_headers(), test_security_flags(), and verify_cert_revocation_with_ocsp().
| BOOL WINAPI InternetReadFileExA | ( | HINTERNET | hFile, |
| LPINTERNET_BUFFERSA | lpBuffersOut, | ||
| DWORD | dwFlags, | ||
| DWORD_PTR | dwContext | ||
| ) |
Definition at line 2672 of file internet.c.
Referenced by CRYPT_DownloadObject(), InternetReadFileExA_test(), and test_async_read().
| BOOL WINAPI InternetReadFileExW | ( | HINTERNET | hFile, |
| LPINTERNET_BUFFERSW | lpBuffer, | ||
| DWORD | dwFlags, | ||
| DWORD_PTR | dwContext | ||
| ) |
Definition at line 2710 of file internet.c.
Referenced by _readex_expect_async(), _readex_expect_sync_data_len(), InternetReadFileExA_test(), and rpcrt4_http_async_read().
| DWORD WINAPI InternetSetFilePointer | ( | HINTERNET | hFile, |
| LONG | lDistanceToMove, | ||
| PVOID | pReserved, | ||
| DWORD | dwMoveContext, | ||
| DWORD_PTR | dwContext | ||
| ) |
Definition at line 2534 of file internet.c.
Referenced by InternetReadFile_test(), InternetSetFilePointer_test(), and test_file_pointer().
| BOOL WINAPI InternetSetOptionA | ( | HINTERNET | hInternet, |
| DWORD | dwOption, | ||
| LPVOID | lpBuffer, | ||
| DWORD | dwBufferLength | ||
| ) |
Definition at line 3727 of file internet.c.
Referenced by InternetReadFile_test(), InternetSetOptionExA(), test_async_HttpSendRequestEx(), test_basic_auth_credentials_cached_manual(), test_basic_auth_credentials_end_session(), test_basic_auth_credentials_manual(), test_cache_read_gzipped(), test_end_browser_session(), test_InternetCanonicalizeUrlA(), test_InternetQueryOptionA(), test_InternetSetOption(), test_max_conns(), test_open_url_async(), test_Option_PerConnectionOptionA(), test_options(), test_proxy_direct(), test_security_flags(), and test_user_agent_header().
| BOOL WINAPI InternetSetOptionExA | ( | HINTERNET | hInternet, |
| DWORD | dwOption, | ||
| LPVOID | lpBuffer, | ||
| DWORD | dwBufferLength, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 3863 of file internet.c.
| BOOL WINAPI InternetSetOptionExW | ( | HINTERNET | hInternet, |
| DWORD | dwOption, | ||
| LPVOID | lpBuffer, | ||
| DWORD | dwBufferLength, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 3873 of file internet.c.
| BOOL WINAPI InternetSetOptionW | ( | HINTERNET | hInternet, |
| DWORD | dwOption, | ||
| LPVOID | lpBuffer, | ||
| DWORD | dwBufferLength | ||
| ) |
Definition at line 3457 of file internet.c.
Referenced by _set_secflags(), HTTP_RetrieveEncodedObjectW(), HttpProtocol_open_request(), InternetSetOptionA(), InternetSetOptionExW(), set_security_flag(), test_InternetSetOption(), test_Option_PerConnectionOption(), test_pac(), test_security_flags(), and update_user_agent().
| INTERNET_STATUS_CALLBACK WINAPI InternetSetStatusCallbackA | ( | HINTERNET | hInternet, |
| INTERNET_STATUS_CALLBACK | lpfnIntCB | ||
| ) |
Definition at line 2480 of file internet.c.
| INTERNET_STATUS_CALLBACK WINAPI InternetSetStatusCallbackW | ( | HINTERNET | hInternet, |
| INTERNET_STATUS_CALLBACK | lpfnIntCB | ||
| ) |
Definition at line 2508 of file internet.c.
Referenced by AsyncInetDownload(), create_internet_session(), CRYPT_Connect(), and rpcrt4_http_internet_connect().
| BOOL WINAPI InternetTimeFromSystemTimeA | ( | const SYSTEMTIME * | time, |
| DWORD | format, | ||
| LPSTR | string, | ||
| DWORD | size | ||
| ) |
Definition at line 3901 of file internet.c.
| BOOL WINAPI InternetTimeFromSystemTimeW | ( | const SYSTEMTIME * | time, |
| DWORD | format, | ||
| LPWSTR | string, | ||
| DWORD | size | ||
| ) |
Definition at line 3929 of file internet.c.
Referenced by InternetTimeFromSystemTimeA().
| BOOL WINAPI InternetTimeToSystemTimeA | ( | LPCSTR | string, |
| SYSTEMTIME * | time, | ||
| DWORD | reserved | ||
| ) |
Definition at line 3960 of file internet.c.
| BOOL WINAPI InternetTimeToSystemTimeW | ( | LPCWSTR | string, |
| SYSTEMTIME * | time, | ||
| DWORD | reserved | ||
| ) |
Definition at line 3979 of file internet.c.
Referenced by HTTP_HttpQueryInfoW(), InternetTimeToSystemTimeA(), and set_cookie().
Definition at line 4680 of file internet.c.
Referenced by InternetLockRequestFile_test(), and protocol_unlock_request().
| BOOL WINAPI InternetWriteFile | ( | HINTERNET | hFile, |
| LPCVOID | lpBuffer, | ||
| DWORD | dwNumOfBytesToWrite, | ||
| LPDWORD | lpdwNumOfBytesWritten | ||
| ) |
Definition at line 2569 of file internet.c.
Referenced by HttpSendRequestEx_test(), rpcrt4_http_keep_connection_active_timer_proc(), rpcrt4_http_prepare_in_pipe(), rpcrt4_ncacn_http_receive_fragment(), rpcrt4_ncacn_http_write(), test_async_HttpSendRequestEx(), and write_post_stream().
|
static |
Definition at line 226 of file internet.c.
Referenced by InternetCloseHandle(), invalidate_handle(), and WININET_Release().
Definition at line 2835 of file internet.c.
Referenced by detect_proxy_autoconfig_url_dns().
Definition at line 3893 of file internet.c.
Referenced by InternetTimeToSystemTimeW().
|
static |
Definition at line 699 of file internet.c.
Referenced by INTERNET_LoadProxySettings().
|
static |
Definition at line 616 of file internet.c.
Referenced by init_global_proxy().
| DWORD WINAPI PrivacyGetZonePreferenceW | ( | DWORD | zone, |
| DWORD | type, | ||
| LPDWORD | template, | ||
| LPWSTR | preference, | ||
| LPDWORD | length | ||
| ) |
Definition at line 5209 of file internet.c.
| DWORD WINAPI PrivacySetZonePreferenceW | ( | DWORD | zone, |
| DWORD | type, | ||
| DWORD | template, | ||
| LPCWSTR | preference | ||
| ) |
Definition at line 5198 of file internet.c.
Definition at line 2925 of file internet.c.
Referenced by INET_QueryOption(), InternetQueryOptionA(), and InternetQueryOptionW().
| void req_file_release | ( | req_file_t * | req_file | ) |
Definition at line 4634 of file internet.c.
Referenced by create_cache_entry(), create_req_file(), HTTPREQ_Destroy(), and InternetUnlockRequestFile().
Definition at line 5323 of file internet.c.
|
static |
Definition at line 371 of file internet.c.
Referenced by INTERNET_SaveProxySettings().
|
inlinestatic |
Definition at line 4812 of file internet.c.
Referenced by calc_url_length(), and InternetCreateUrlW().
Definition at line 3350 of file internet.c.
Referenced by InternetSetOptionW().
|
static |
Definition at line 2455 of file internet.c.
Referenced by InternetSetStatusCallbackA(), and InternetSetStatusCallbackW().
|
static |
Definition at line 1859 of file internet.c.
Referenced by InternetCrackUrlW().
|
static |
Definition at line 1911 of file internet.c.
Referenced by InternetCrackUrlA().
|
static |
Definition at line 1884 of file internet.c.
Referenced by InternetCrackUrlA().
Definition at line 5335 of file internet.c.
|
static |
Definition at line 4789 of file internet.c.
Referenced by calc_url_length(), and InternetCreateUrlW().
| WINE_DEFAULT_DEBUG_CHANNEL | ( | wininet | ) |
| object_header_t * WININET_AddRef | ( | object_header_t * | info | ) |
Definition at line 202 of file internet.c.
Referenced by alloc_async_task(), FTP_Connect(), FTP_FtpOpenFileW(), FTP_ReceiveFileList(), get_handle_object(), HTTP_Connect(), and HTTP_HttpOpenRequestW().
| BOOL WININET_Release | ( | object_header_t * | info | ) |
Definition at line 244 of file internet.c.
Referenced by FTP_Connect(), FtpCommandW(), FtpCreateDirectoryW(), FtpDeleteFileW(), FTPFILE_Destroy(), FtpFindFirstFileW(), FTPFINDNEXT_Destroy(), FtpGetCurrentDirectoryW(), FtpGetFileW(), FtpOpenFileW(), FtpPutFileW(), FtpRemoveDirectoryW(), FtpRenameFileW(), FTPSESSION_Destroy(), FtpSetCurrentDirectoryW(), HTTP_HttpOpenRequestW(), HttpAddRequestHeadersW(), HttpEndRequestW(), HttpOpenRequestW(), HttpQueryInfoW(), HTTPREQ_Destroy(), HttpSendRequestExW(), HttpSendRequestW(), HTTPSESSION_Destroy(), INTERNET_WorkerThreadFunc(), InternetCloseHandle(), InternetConnectW(), InternetErrorDlg(), InternetFindNextFileW(), InternetLockRequestFile(), InternetOpenUrlW(), InternetQueryDataAvailable(), InternetQueryOptionA(), InternetQueryOptionW(), InternetReadFile(), InternetReadFileExA(), InternetReadFileExW(), InternetSetFilePointer(), InternetSetOptionW(), InternetSetStatusCallbackA(), InternetSetStatusCallbackW(), InternetWriteFile(), and invalidate_handle().
|
static |
Definition at line 1312 of file internet.c.
Referenced by InternetOpenW().
|
static |
Definition at line 112 of file internet.c.
Referenced by alloc_object(), query_global_option(), set_global_option(), and winhttp_request_SetTimeouts().
|
static |
Definition at line 116 of file internet.c.
Referenced by alloc_object(), query_global_option(), and set_global_option().
|
static |
Definition at line 115 of file internet.c.
Referenced by alloc_object(), query_global_option(), and set_global_option().
|
static |
Definition at line 70 of file internet.c.
Referenced by DllMain(), INTERNET_AllocThreadError(), INTERNET_GetLastError(), INTERNET_GetResponseBuffer(), INTERNET_SetLastError(), INTERNET_WorkerThreadFunc(), InternetGetLastResponseInfoA(), and InternetGetLastResponseInfoW().
|
static |
Definition at line 606 of file internet.c.
Referenced by APPINFO_QueryOption(), APPINFO_SetOption(), free_global_proxy(), init_global_proxy(), INTERNET_GetProxySettings(), and InternetSetOptionW().
|
static |
Definition at line 82 of file internet.c.
|
static |
Definition at line 84 of file internet.c.
Referenced by alloc_object(), and get_handle_object().
|
static |
Definition at line 111 of file internet.c.
Referenced by query_global_option(), and set_global_option().
|
static |
Definition at line 111 of file internet.c.
Referenced by query_global_option(), and set_global_option().
|
static |
Definition at line 83 of file internet.c.
Referenced by alloc_object(), and WININET_Release().
|
static |
Definition at line 114 of file internet.c.
Referenced by alloc_object(), query_global_option(), set_global_option(), and winhttp_request_SetTimeouts().
|
static |
Definition at line 113 of file internet.c.
Referenced by alloc_object(), query_global_option(), set_global_option(), and winhttp_request_SetTimeouts().
Definition at line 119 of file internet.c.
Referenced by INTERNET_LoadProxySettings(), and INTERNET_SaveProxySettings().
Definition at line 2002 of file internet.c.
Referenced by GetInternetSchemeW(), and INTERNET_GetSchemeString().
|
static |
Definition at line 73 of file internet.c.
Referenced by alloc_object(), APPINFO_QueryOption(), APPINFO_SetOption(), free_global_proxy(), get_handle_object(), init_global_proxy(), INTERNET_GetProxySettings(), InternetSetOptionW(), and WININET_Release().
|
static |
Definition at line 74 of file internet.c.
| HMODULE WININET_hModule |
Definition at line 71 of file internet.c.
Referenced by collect_connections_proc(), DllMain(), http_release_netconn(), HTTPREQ_QueryOption(), InternetErrorDlg(), InternetGetConnectedStateExW(), and WININET_InvalidCertificateDialog().
Definition at line 3885 of file internet.c.
Referenced by InternetTimeFromSystemTimeW(), and InternetTimeToSystemTimeW().
|
static |
Definition at line 5193 of file internet.c.
Referenced by PrivacyGetZonePreferenceW(), and PrivacySetZonePreferenceW().