2 * Copyright (C) 2007 Francois Gouget
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __WINE_WINHTTP_H
20 #define __WINE_WINHTTP_H
23 #define BOOLAPI WINHTTPAPI BOOL WINAPI
26 typedef LPVOID HINTERNET
;
27 typedef HINTERNET
*LPHINTERNET
;
29 #define INTERNET_DEFAULT_PORT 0
30 #define INTERNET_DEFAULT_HTTP_PORT 80
31 #define INTERNET_DEFAULT_HTTPS_PORT 443
32 typedef WORD INTERNET_PORT
;
33 typedef INTERNET_PORT
*LPINTERNET_PORT
;
35 #define INTERNET_SCHEME_HTTP 1
36 #define INTERNET_SCHEME_HTTPS 2
37 typedef int INTERNET_SCHEME
, *LPINTERNET_SCHEME
;
44 INTERNET_SCHEME nScheme
;
46 DWORD dwHostNameLength
;
49 DWORD dwUserNameLength
;
51 DWORD dwPasswordLength
;
53 DWORD dwUrlPathLength
;
55 DWORD dwExtraInfoLength
;
56 } URL_COMPONENTS
, *LPURL_COMPONENTS
;
57 typedef URL_COMPONENTS URL_COMPONENTSW
;
58 typedef LPURL_COMPONENTS LPURL_COMPONENTSW
;
64 } WINHTTP_ASYNC_RESULT
, *LPWINHTTP_ASYNC_RESULT
;
70 LPWSTR lpszSubjectInfo
;
71 LPWSTR lpszIssuerInfo
;
72 LPWSTR lpszProtocolName
;
73 LPWSTR lpszSignatureAlgName
;
74 LPWSTR lpszEncryptionAlgName
;
76 } WINHTTP_CERTIFICATE_INFO
;
82 LPCWSTR lpszProxyBypass
;
83 } WINHTTP_PROXY_INFO
, *LPWINHTTP_PROXY_INFO
;
84 typedef WINHTTP_PROXY_INFO WINHTTP_PROXY_INFOW
;
85 typedef LPWINHTTP_PROXY_INFO LPWINHTTP_PROXY_INFOW
;
92 BOOL WINAPI
WinHttpCheckPlatform(void);
98 #endif /* __WINE_WINHTTP_H */