ReactOS 0.4.16-dev-823-g9a093ec
|
#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 "wine/exception.h"
#include "internet.h"
#include "resource.h"
Go to the source code of this file.
Classes | |
struct | WITHREADERROR |
struct | proxyinfo_t |
struct | open_url_task_t |
Macros | |
#define | NO_SHLWAPI_STREAM |
#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 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 MAX_WORD_DIGITS 5 |
Definition at line 4163 of file internet.c.
#define NO_SHLWAPI_STREAM |
Definition at line 51 of file internet.c.
Definition at line 4165 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 3894 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 103 of file internet.c.
Referenced by FTP_Connect(), FTP_FtpOpenFileW(), FTP_ReceiveFileList(), HTTP_Connect(), HTTP_HttpOpenRequestW(), and InternetOpenW().
|
static |
Definition at line 775 of file internet.c.
Referenced by query_global_option().
|
static |
Definition at line 788 of file internet.c.
Referenced by query_global_option().
|
static |
Definition at line 931 of file internet.c.
|
static |
Definition at line 3710 of file internet.c.
Referenced by InternetOpenUrlW().
Definition at line 2385 of file internet.c.
Referenced by detect_proxy_autoconfig_url_dns().
|
static |
Definition at line 4216 of file internet.c.
Referenced by InternetCreateUrlW().
Definition at line 1953 of file internet.c.
Referenced by InternetCanonicalizeUrlA(), and InternetCanonicalizeUrlW().
|
static |
Definition at line 4291 of file internet.c.
Referenced by InternetCreateUrlA().
DWORD create_req_file | ( | const WCHAR * | file_name, |
req_file_t ** | ret | ||
) |
Definition at line 3988 of file internet.c.
Referenced by create_cache_entry().
BOOL WINAPI CreateMD5SSOHash | ( | PWSTR | pszChallengeInfo, |
PWSTR | pwszRealm, | ||
PWSTR | pwszTarget, | ||
PBYTE | pbHexHash | ||
) |
Definition at line 4690 of file internet.c.
Definition at line 2300 of file internet.c.
Referenced by get_proxy_autoconfig_url().
Definition at line 2405 of file internet.c.
Referenced by get_proxy_autoconfig_url().
BOOL WINAPI DetectAutoProxyUrl | ( | LPSTR | lpszAutoProxyUrl, |
DWORD | dwAutoProxyUrlLength, | ||
DWORD | dwDetectFlags | ||
) |
Definition at line 462 of file internet.c.
Definition at line 317 of file internet.c.
Definition at line 266 of file internet.c.
Definition at line 721 of file internet.c.
Referenced by InternetOpenUrlW(), and InternetOpenW().
Definition at line 480 of file internet.c.
Referenced by InternetSetOptionW().
|
static |
Definition at line 470 of file internet.c.
Referenced by free_global_proxy(), INTERNET_ConfigureProxy(), INTERNET_LoadProxySettings(), InternetSetOptionW(), and query_global_option().
|
static |
Definition at line 2281 of file internet.c.
Referenced by detect_proxy_autoconfig_url_dhcp().
|
static |
Definition at line 2355 of file internet.c.
Referenced by detect_proxy_autoconfig_url_dns().
object_header_t * get_handle_object | ( | HINTERNET | hinternet | ) |
Definition at line 176 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(), InternetSetOptionW(), InternetSetStatusCallbackA(), InternetSetStatusCallbackW(), and InternetWriteFile().
Definition at line 2451 of file internet.c.
Referenced by query_global_option().
|
static |
Definition at line 1600 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 2654 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 2753 of file internet.c.
Referenced by APPINFO_SetOption(), HTTPREQ_SetOption(), HTTPSESSION_SetOption(), and set_global_option().
|
static |
Definition at line 3810 of file internet.c.
Referenced by INTERNET_GetResponseBuffer(), and INTERNET_SetLastError().
DWORD INTERNET_AsyncCall | ( | task_header_t * | task | ) |
Definition at line 3915 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 688 of file internet.c.
Referenced by InternetOpenW(), and query_global_option().
Definition at line 384 of file internet.c.
Referenced by HTTP_DealWithProxy().
Definition at line 3858 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().
Definition at line 3937 of file internet.c.
Referenced by FTP_DoPassive(), FTP_FtpGetCurrentDirectoryW(), FTP_GetNextLine(), and FTP_ReceiveResponse().
|
static |
Definition at line 4202 of file internet.c.
Referenced by calc_url_length(), and InternetCreateUrlW().
|
static |
Definition at line 3603 of file internet.c.
Referenced by AsyncInternetOpenUrlProc(), and InternetOpenUrlW().
|
static |
Definition at line 538 of file internet.c.
Referenced by INTERNET_ConfigureProxy(), InternetSetOptionW(), and query_global_option().
|
static |
Definition at line 331 of file internet.c.
Referenced by InternetSetOptionW().
Definition at line 3837 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 3876 of file internet.c.
Referenced by INTERNET_AsyncCall().
Definition at line 1935 of file internet.c.
Definition at line 4082 of file internet.c.
Definition at line 4102 of file internet.c.
BOOL WINAPI InternetCanonicalizeUrlA | ( | LPCSTR | lpszUrl, |
LPSTR | lpszBuffer, | ||
LPDWORD | lpdwBufferLength, | ||
DWORD | dwFlags | ||
) |
Definition at line 1978 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 2004 of file internet.c.
Referenced by InternetCrackUrlW(), and SetFriendlyUrl().
Definition at line 3577 of file internet.c.
Definition at line 3461 of file internet.c.
Referenced by InternetCheckConnectionA().
Definition at line 1414 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(), 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_no_cache(), test_null(), test_open_url_async(), test_openfile(), test_options(), test_proxy_direct(), test_secure_connection(), test_status_callbacks(), test_user_agent_header(), and CWebService::~CWebService().
BOOL WINAPI InternetCombineUrlA | ( | LPCSTR | lpszBaseUrl, |
LPCSTR | lpszRelativeUrl, | ||
LPSTR | lpszBuffer, | ||
LPDWORD | lpdwBufferLength, | ||
DWORD | dwFlags | ||
) |
Definition at line 4121 of file internet.c.
BOOL WINAPI InternetCombineUrlW | ( | LPCWSTR | lpszBaseUrl, |
LPCWSTR | lpszRelativeUrl, | ||
LPWSTR | lpszBuffer, | ||
LPDWORD | lpdwBufferLength, | ||
DWORD | dwFlags | ||
) |
Definition at line 4147 of file internet.c.
Referenced by get_redirect_url().
DWORD WINAPI InternetConfirmZoneCrossingA | ( | HWND | hWnd, |
LPSTR | szUrlPrev, | ||
LPSTR | szUrlNew, | ||
BOOL | bPost | ||
) |
Definition at line 4552 of file internet.c.
DWORD WINAPI InternetConfirmZoneCrossingW | ( | HWND | hWnd, |
LPWSTR | szUrlPrev, | ||
LPWSTR | szUrlNew, | ||
BOOL | bPost | ||
) |
Definition at line 4562 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 1321 of file internet.c.
Referenced by _open_simple_request(), can_do_https(), HttpHeaders_test(), HttpSendRequestEx_test(), InternetOpenRequest_test(), InternetReadFile_chunked_test(), InternetReadFile_test(), InternetReadFileExA_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_no_cache(), test_no_content(), 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 1258 of file internet.c.
Referenced by CRYPT_Connect(), CWebService::CWebService(), HttpProtocol_open_request(), InternetConnectA(), rpcrt4_http_internet_connect(), test_null(), and test_secure_connection().
BOOL WINAPI InternetCrackUrlA | ( | const char * | url, |
DWORD | url_length, | ||
DWORD | flags, | ||
URL_COMPONENTSA * | ret_comp | ||
) |
Definition at line 1506 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 1625 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(), and urlcache_encode_url().
BOOL WINAPI InternetCreateUrlA | ( | LPURL_COMPONENTSA | lpUrlComponents, |
DWORD | dwFlags, | ||
LPSTR | lpszUrl, | ||
LPDWORD | lpdwUrlLength | ||
) |
Definition at line 4361 of file internet.c.
Referenced by InternetCreateUrlA_test().
BOOL WINAPI InternetCreateUrlW | ( | LPURL_COMPONENTSW | lpUrlComponents, |
DWORD | dwFlags, | ||
LPWSTR | lpszUrl, | ||
LPDWORD | lpdwUrlLength | ||
) |
Definition at line 4425 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 4656 of file internet.c.
DWORD WINAPI InternetDialW | ( | HWND | hwndParent, |
LPWSTR | lpszConnectoid, | ||
DWORD | dwFlags, | ||
DWORD_PTR * | lpdwConnection, | ||
DWORD | dwReserved | ||
) |
Definition at line 4664 of file internet.c.
Definition at line 1355 of file internet.c.
Definition at line 1376 of file internet.c.
Referenced by InternetFindNextFileA().
Definition at line 1163 of file internet.c.
BOOL WINAPI InternetGetConnectedStateExA | ( | LPDWORD | lpdwStatus, |
LPSTR | lpszConnectionName, | ||
DWORD | dwNameLen, | ||
DWORD | dwReserved | ||
) |
Definition at line 1226 of file internet.c.
BOOL WINAPI InternetGetConnectedStateExW | ( | LPDWORD | lpdwStatus, |
LPWSTR | lpszConnectionName, | ||
DWORD | dwNameLen, | ||
DWORD | dwReserved | ||
) |
Definition at line 1198 of file internet.c.
Referenced by InternetGetConnectedState(), and InternetGetConnectedStateExA().
BOOL WINAPI InternetGetLastResponseInfoA | ( | LPDWORD | lpdwError, |
LPSTR | lpszBuffer, | ||
LPDWORD | lpdwBufferLength | ||
) |
Definition at line 1088 of file internet.c.
Referenced by trace_extended_error().
BOOL WINAPI InternetGetLastResponseInfoW | ( | LPDWORD | lpdwError, |
LPWSTR | lpszBuffer, | ||
LPDWORD | lpdwBufferLength | ||
) |
Definition at line 1125 of file internet.c.
BOOL WINAPI InternetGetSecurityInfoByURLA | ( | LPSTR | lpszURL, |
PCCERT_CHAIN_CONTEXT * | ppCertChain, | ||
DWORD * | pdwSecureFlags | ||
) |
Definition at line 4596 of file internet.c.
BOOL WINAPI InternetGetSecurityInfoByURLW | ( | LPCWSTR | lpszURL, |
PCCERT_CHAIN_CONTEXT * | ppCertChain, | ||
DWORD * | pdwSecureFlags | ||
) |
Definition at line 4615 of file internet.c.
Referenced by InternetGetSecurityInfoByURLA().
Definition at line 4672 of file internet.c.
Definition at line 4678 of file internet.c.
Definition at line 4684 of file internet.c.
Definition at line 446 of file internet.c.
Definition at line 4032 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 1057 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(), 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_no_cache(), test_no_content(), test_open_url_async(), 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 3779 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 3722 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 979 of file internet.c.
Referenced by AsyncInetDownload(), create_internet_session(), CRYPT_Connect(), CWebService::CWebService(), InternetOpenA(), CDownloadManager::PerformDownloadAndInstall(), rpcrt4_http_internet_connect(), test_null(), test_proxy_direct(), and test_secure_connection().
BOOL WINAPI InternetQueryDataAvailable | ( | HINTERNET | hFile, |
LPDWORD | lpdwNumberOfBytesAvailable, | ||
DWORD | dwFlags, | ||
DWORD_PTR | dwContext | ||
) |
Definition at line 3959 of file internet.c.
Referenced by _async_query_data_available(), _expect_data_available(), CRYPT_DownloadObject(), CWebService::DoRequest(), InternetReadFile_chunked_test(), InternetReadFile_test(), protocol_continue(), protocol_read(), protocol_syncbinding(), rpcrt4_ncacn_http_wait_for_incoming_data(), test_cache_read(), and test_conn_close().
Definition at line 4704 of file internet.c.
BOOL WINAPI InternetQueryOptionA | ( | HINTERNET | hInternet, |
DWORD | dwOption, | ||
LPVOID | lpBuffer, | ||
LPDWORD | lpdwBufferLength | ||
) |
Definition at line 2730 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 2697 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_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 2154 of file internet.c.
Referenced by _read_expect_sync_data_len(), _receive_simple_request(), AsyncInetReadFileLoop(), CWebService::DoRequest(), HttpSendRequestEx_test(), InternetOpenUrlA_test(), InternetReadFile_chunked_test(), InternetReadFile_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(), and test_security_flags().
BOOL WINAPI InternetReadFileExA | ( | HINTERNET | hFile, |
LPINTERNET_BUFFERSA | lpBuffersOut, | ||
DWORD | dwFlags, | ||
DWORD_PTR | dwContext | ||
) |
Definition at line 2210 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 2248 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 2095 of file internet.c.
Referenced by InternetReadFile_test().
BOOL WINAPI InternetSetOptionA | ( | HINTERNET | hInternet, |
DWORD | dwOption, | ||
LPVOID | lpBuffer, | ||
DWORD | dwBufferLength | ||
) |
Definition at line 3131 of file internet.c.
Referenced by InternetReadFile_test(), InternetSetOptionExA(), 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(), and test_security_flags().
BOOL WINAPI InternetSetOptionExA | ( | HINTERNET | hInternet, |
DWORD | dwOption, | ||
LPVOID | lpBuffer, | ||
DWORD | dwBufferLength, | ||
DWORD | dwFlags | ||
) |
Definition at line 3267 of file internet.c.
BOOL WINAPI InternetSetOptionExW | ( | HINTERNET | hInternet, |
DWORD | dwOption, | ||
LPVOID | lpBuffer, | ||
DWORD | dwBufferLength, | ||
DWORD | dwFlags | ||
) |
Definition at line 3277 of file internet.c.
BOOL WINAPI InternetSetOptionW | ( | HINTERNET | hInternet, |
DWORD | dwOption, | ||
LPVOID | lpBuffer, | ||
DWORD | dwBufferLength | ||
) |
Definition at line 2837 of file internet.c.
Referenced by _set_secflags(), HTTP_RetrieveEncodedObjectW(), HttpProtocol_open_request(), InternetSetOptionA(), InternetSetOptionExW(), set_security_flag(), test_InternetSetOption(), test_Option_PerConnectionOption(), test_security_flags(), and update_user_agent().
INTERNET_STATUS_CALLBACK WINAPI InternetSetStatusCallbackA | ( | HINTERNET | hInternet, |
INTERNET_STATUS_CALLBACK | lpfnIntCB | ||
) |
Definition at line 2047 of file internet.c.
INTERNET_STATUS_CALLBACK WINAPI InternetSetStatusCallbackW | ( | HINTERNET | hInternet, |
INTERNET_STATUS_CALLBACK | lpfnIntCB | ||
) |
Definition at line 2075 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 3300 of file internet.c.
BOOL WINAPI InternetTimeFromSystemTimeW | ( | const SYSTEMTIME * | time, |
DWORD | format, | ||
LPWSTR | string, | ||
DWORD | size | ||
) |
Definition at line 3328 of file internet.c.
Referenced by InternetTimeFromSystemTimeA().
BOOL WINAPI InternetTimeToSystemTimeA | ( | LPCSTR | string, |
SYSTEMTIME * | time, | ||
DWORD | reserved | ||
) |
Definition at line 3359 of file internet.c.
BOOL WINAPI InternetTimeToSystemTimeW | ( | LPCWSTR | string, |
SYSTEMTIME * | time, | ||
DWORD | reserved | ||
) |
Definition at line 3378 of file internet.c.
Referenced by InternetTimeToSystemTimeA(), and set_cookie().
Definition at line 4061 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 2114 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 193 of file internet.c.
Referenced by InternetCloseHandle(), invalidate_handle(), and WININET_Release().
Definition at line 2371 of file internet.c.
Referenced by detect_proxy_autoconfig_url_dns().
|
static |
Definition at line 491 of file internet.c.
Referenced by INTERNET_LoadProxySettings().
DWORD WINAPI PrivacyGetZonePreferenceW | ( | DWORD | zone, |
DWORD | type, | ||
LPDWORD | template, | ||
LPWSTR | preference, | ||
LPDWORD | length | ||
) |
Definition at line 4584 of file internet.c.
DWORD WINAPI PrivacySetZonePreferenceW | ( | DWORD | zone, |
DWORD | type, | ||
DWORD | template, | ||
LPCWSTR | preference | ||
) |
Definition at line 4573 of file internet.c.
Definition at line 2458 of file internet.c.
Referenced by INET_QueryOption(), InternetQueryOptionA(), and InternetQueryOptionW().
void req_file_release | ( | req_file_t * | req_file | ) |
Definition at line 4015 of file internet.c.
Referenced by create_cache_entry(), create_req_file(), HTTPREQ_Destroy(), and InternetUnlockRequestFile().
Definition at line 4698 of file internet.c.
|
inlinestatic |
Definition at line 4193 of file internet.c.
Referenced by calc_url_length(), and InternetCreateUrlW().
Definition at line 2774 of file internet.c.
Referenced by InternetSetOptionW().
|
static |
Definition at line 2022 of file internet.c.
Referenced by InternetSetStatusCallbackA(), and InternetSetStatusCallbackW().
|
static |
Definition at line 1432 of file internet.c.
Referenced by InternetCrackUrlW().
|
static |
Definition at line 1484 of file internet.c.
Referenced by InternetCrackUrlA().
|
static |
Definition at line 1457 of file internet.c.
Referenced by InternetCrackUrlA().
Definition at line 4710 of file internet.c.
|
static |
Definition at line 4170 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 169 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 211 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(), InternetSetOptionW(), InternetSetStatusCallbackA(), InternetSetStatusCallbackW(), InternetWriteFile(), and invalidate_handle().
|
static |
Definition at line 958 of file internet.c.
Referenced by InternetOpenW().
|
static |
Definition at line 98 of file internet.c.
Referenced by APPINFO_SetOption(), InternetOpenW(), query_global_option(), set_global_option(), and winhttp_request_SetTimeouts().
|
static |
Definition at line 72 of file internet.c.
Referenced by DllMain(), INTERNET_AllocThreadError(), INTERNET_GetLastError(), INTERNET_GetResponseBuffer(), INTERNET_SetLastError(), INTERNET_WorkerThreadFunc(), InternetGetLastResponseInfoA(), and InternetGetLastResponseInfoW().
|
static |
Definition at line 478 of file internet.c.
Referenced by free_global_proxy(), INTERNET_LoadProxySettings(), and InternetSetOptionW().
|
static |
Definition at line 84 of file internet.c.
|
static |
Definition at line 86 of file internet.c.
Referenced by alloc_object(), and get_handle_object().
|
static |
Definition at line 97 of file internet.c.
Referenced by query_global_option(), and set_global_option().
|
static |
Definition at line 97 of file internet.c.
Referenced by query_global_option(), and set_global_option().
|
static |
Definition at line 85 of file internet.c.
Referenced by alloc_object(), and WININET_Release().
Definition at line 100 of file internet.c.
Referenced by INTERNET_LoadProxySettings(), INTERNET_SaveProxySettings(), and r_verifyProxyEnable().
Definition at line 1575 of file internet.c.
Referenced by GetInternetSchemeW(), and INTERNET_GetSchemeString().
|
static |
Definition at line 75 of file internet.c.
Referenced by alloc_object(), free_global_proxy(), get_handle_object(), INTERNET_LoadProxySettings(), InternetSetOptionW(), and WININET_Release().
|
static |
Definition at line 76 of file internet.c.
HMODULE WININET_hModule |
Definition at line 73 of file internet.c.
Referenced by collect_connections_proc(), DllMain(), http_release_netconn(), HTTPREQ_QueryOption(), InternetErrorDlg(), InternetGetConnectedStateExW(), and WININET_InvalidCertificateDialog().
Definition at line 3289 of file internet.c.
Referenced by InternetTimeFromSystemTimeW(), and InternetTimeToSystemTimeW().
|
static |
Definition at line 4568 of file internet.c.
Referenced by PrivacyGetZonePreferenceW(), and PrivacySetZonePreferenceW().