19 #ifndef _WINE_WINHTTP_PRIVATE_H_ 20 #define _WINE_WINHTTP_PRIVATE_H_ 22 #ifndef __WINE_CONFIG_H 23 # error You must include config.h to use this header 27 #include "wine/list.h" 28 #include "wine/unicode.h" 38 static const WCHAR http1_0[] = {
'H',
'T',
'T',
'P',
'/',
'1',
'.',
'0',0};
39 static const WCHAR http1_1[] = {
'H',
'T',
'T',
'P',
'/',
'1',
'.',
'1',0};
VOID(CALLBACK * WINHTTP_STATUS_CALLBACK)(_In_ HINTERNET, _In_ DWORD_PTR, _In_ DWORD, _In_ LPVOID, _In_ DWORD)
BOOL netconn_resolve(WCHAR *, INTERNET_PORT, struct sockaddr_storage *, int) DECLSPEC_HIDDEN
ULONG netconn_query_data_available(struct netconn *) DECLSPEC_HIDDEN
void netconn_unload(void) DECLSPEC_HIDDEN
BOOL(* set_option)(struct object_header *, DWORD, void *, DWORD)
struct png_info_def **typedef void(__cdecl typeof(png_destroy_read_struct))(struct png_struct_def **
BOOL set_cookies(struct request *, const WCHAR *) DECLSPEC_HIDDEN
WINE_UNICODE_INLINE unsigned int strlenW(const WCHAR *str)
static const WCHAR http1_0[]
#define WideCharToMultiByte
const CERT_CONTEXT * client_cert
DWORD netconn_set_timeout(struct netconn *, BOOL, int) DECLSPEC_HIDDEN
SecPkgContext_StreamSizes ssl_sizes
BOOL cred_handle_initialized
BOOL free_handle(HINTERNET) DECLSPEC_HIDDEN
struct netconn * netconn_create(struct hostdata *, const struct sockaddr_storage *, int) DECLSPEC_HIDDEN
static void * heap_alloc(size_t len)
BOOL netconn_send(struct netconn *, const void *, size_t, int *) DECLSPEC_HIDDEN
static const WCHAR postW[]
BOOL add_request_headers(struct request *, const WCHAR *, DWORD, DWORD) DECLSPEC_HIDDEN
static void * __WINE_ALLOC_SIZE(2) heap_realloc_zero(LPVOID mem
void release_object(struct object_header *) DECLSPEC_HIDDEN
int netconn_get_cipher_strength(struct netconn *) DECLSPEC_HIDDEN
static WCHAR * strdupW(const WCHAR *src)
BOOL(* query_option)(struct object_header *, DWORD, void *, DWORD *)
HINTERNET alloc_handle(struct object_header *) DECLSPEC_HIDDEN
BOOL netconn_secure_connect(struct netconn *, WCHAR *, DWORD, CredHandle *, BOOL) DECLSPEC_HIDDEN
static char * strdupWA_sized(const WCHAR *src, DWORD size)
void(* destroy)(struct object_header *)
static char * strdupWA(const WCHAR *src)
void destroy_cookies(struct session *) DECLSPEC_HIDDEN
const CERT_CONTEXT * server_cert
void send_callback(struct object_header *, DWORD, LPVOID, DWORD) DECLSPEC_HIDDEN
BOOL netconn_recv(struct netconn *, void *, size_t, int, int *) DECLSPEC_HIDDEN
BOOL add_cookie_headers(struct request *) DECLSPEC_HIDDEN
struct authinfo * proxy_authinfo
BOOL process_header(struct request *, const WCHAR *, const WCHAR *, DWORD, BOOL) DECLSPEC_HIDDEN
void netconn_close(struct netconn *) DECLSPEC_HIDDEN
void release_typelib(void) DECLSPEC_HIDDEN
static const WCHAR slashW[]
WINE_UNICODE_INLINE WCHAR * strcpyW(WCHAR *dst, const WCHAR *src)
const void * netconn_get_certificate(struct netconn *) DECLSPEC_HIDDEN
struct object_header * grab_object(HINTERNET) DECLSPEC_HIDDEN
void release_host(struct hostdata *) DECLSPEC_HIDDEN
void destroy_authinfo(struct authinfo *) DECLSPEC_HIDDEN
int receive_response_timeout
static const WCHAR http1_1[]
BOOL netconn_is_alive(struct netconn *) DECLSPEC_HIDDEN
int receive_response_timeout
#define MultiByteToWideChar
struct authinfo * authinfo
static WCHAR * strdupAW(const char *src)
static const WCHAR getW[]
struct request::@579 creds[TARGET_MAX][SCHEME_MAX]
static const WCHAR headW[]
BOOL set_server_for_hostname(struct connect *, const WCHAR *, INTERNET_PORT) DECLSPEC_HIDDEN
struct object_header * addref_object(struct object_header *) DECLSPEC_HIDDEN
HINSTANCE winhttp_instance
static const WCHAR chunkedW[]
HINSTANCE winhttp_instance DECLSPEC_HIDDEN
HRESULT WinHttpRequest_create(void **) DECLSPEC_HIDDEN
void close_connection(struct request *) DECLSPEC_HIDDEN