ReactOS  0.4.14-dev-599-g2d4d3f5
winineti.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2007 Francois Gouget
3  *
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.
8  *
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.
13  *
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
17  */
18 
19 #ifndef _WINE_WININETI_H_
20 #define _WINE_WININETI_H_
21 
22 /* FIXME: #include <iedial.h> */
23 #include <schannel.h>
24 #include <sspi.h>
25 
27 {
31 
33 {
37 
38 DECL_WINELIB_TYPE_AW(INTERNET_CACHE_CONFIG_PATH_ENTRY)
39 DECL_WINELIB_TYPE_AW(LPINTERNET_CACHE_CONFIG_PATH_ENTRY)
40 
42 {
50  __C89_NAMELESS union
51  {
52  __C89_NAMELESS struct
53  {
54  CHAR CachePath[MAX_PATH];
62 
64 {
72  __C89_NAMELESS union
73  {
74  __C89_NAMELESS struct
75  {
84 
85 DECL_WINELIB_TYPE_AW(INTERNET_CACHE_CONFIG_INFO)
86 DECL_WINELIB_TYPE_AW(LPINTERNET_CACHE_CONFIG_INFO)
87 
88 typedef enum {
96 
97 /* Flags for GetUrlCacheConfigInfoA/W and SetUrlCacheConfigInfoA/W */
98 #define CACHE_CONFIG_FORCE_CLEANUP_FC 0x00000020
99 #define CACHE_CONFIG_DISK_CACHE_PATHS_FC 0x00000040
100 #define CACHE_CONFIG_SYNC_MODE_FC 0x00000080
101 #define CACHE_CONFIG_CONTENT_PATHS_FC 0x00000100
102 #define CACHE_CONFIG_COOKIES_PATHS_FC 0x00000200
103 #define CACHE_CONFIG_HISTORY_PATHS_FC 0x00000400
104 #define CACHE_CONFIG_QUOTA_FC 0x00000800
105 #define CACHE_CONFIG_USER_MODE_FC 0x00001000
106 #define CACHE_CONFIG_CONTENT_USAGE_FC 0x00002000
107 #define CACHE_CONFIG_STICKY_CONTENT_USAGE_FC 0x00004000
108 
109 #ifdef __cplusplus
110 extern "C" {
111 #endif
112 
117 #define GetUrlCacheConfigInfo WINELIB_NAME_AW(GetUrlCacheConfigInfo)
122 #define IsUrlCacheEntryExpired WINELIB_NAME_AW(IsUrlCacheEntryExpired)
125 #define SetUrlCacheConfigInfo WINELIB_NAME_AW(SetUrlCacheConfigInfo)
128 #define InternetGetSecurityInfoByURL WINELIB_NAME_AW(InternetGetSecurityInfoByURL)
129 
130 #ifdef __cplusplus
131 }
132 #endif
133 
134 #endif /* _WINE_WININETI_H_ */
struct _INTERNET_CACHE_CONFIG_PATH_ENTRYA * LPINTERNET_CACHE_CONFIG_PATH_ENTRYA
BOOL WINAPI IsUrlCacheEntryExpiredW(LPCWSTR, DWORD, FILETIME *)
Definition: urlcache.c:4058
INTERNET_CACHE_CONFIG_PATH_ENTRYW CachePaths[ANYSIZE_ARRAY]
Definition: winineti.h:79
struct _INTERNET_CACHE_CONFIG_PATH_ENTRYA INTERNET_CACHE_CONFIG_PATH_ENTRYA
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
__C89_NAMELESS union _INTERNET_CACHE_CONFIG_INFOW::@3212 __C89_NAMELESSUNIONNAME
#define ANYSIZE_ARRAY
Definition: typedefs.h:45
struct _INTERNET_CACHE_CONFIG_INFOW INTERNET_CACHE_CONFIG_INFOW
char CHAR
Definition: xmlstorage.h:175
BOOL WINAPI GetDiskInfoA(PCSTR, PDWORD, PDWORDLONG, PDWORDLONG)
Definition: urlcache.c:4074
#define __C89_NAMELESSUNIONNAME
Definition: _mingw_mac.h:131
BOOL WINAPI SetUrlCacheConfigInfoA(LPINTERNET_CACHE_CONFIG_INFOA, DWORD)
Definition: urlcache.c:3935
char * LPSTR
Definition: xmlstorage.h:182
WCHAR CachePath[MAX_PATH]
Definition: winineti.h:76
BOOL WINAPI InternetGetSecurityInfoByURLW(LPCWSTR, PCCERT_CHAIN_CONTEXT *, DWORD *)
Definition: internet.c:4498
#define DECL_WINELIB_TYPE_AW(type)
Definition: windef.h:401
unsigned int BOOL
Definition: ntddk_ex.h:94
BOOL WINAPI GetUrlCacheConfigInfoA(LPINTERNET_CACHE_CONFIG_INFOA, LPDWORD, DWORD)
Definition: urlcache.c:3869
#define __C89_NAMELESSSTRUCTNAME
Definition: _mingw_mac.h:130
struct _INTERNET_CACHE_CONFIG_INFOA INTERNET_CACHE_CONFIG_INFOA
BOOL WINAPI GetUrlCacheConfigInfoW(LPINTERNET_CACHE_CONFIG_INFOW, LPDWORD, DWORD)
Definition: urlcache.c:3828
const char * LPCSTR
Definition: xmlstorage.h:183
struct _INTERNET_CACHE_CONFIG_PATH_ENTRYW INTERNET_CACHE_CONFIG_PATH_ENTRYW
struct _INTERNET_CACHE_CONFIG_PATH_ENTRYW * LPINTERNET_CACHE_CONFIG_PATH_ENTRYW
BOOL WINAPI IsUrlCacheEntryExpiredA(LPCSTR, DWORD, FILETIME *)
Definition: urlcache.c:3990
BOOL WINAPI InternetQueryFortezzaStatus(DWORD *, DWORD_PTR)
Definition: internet.c:4587
__wchar_t WCHAR
Definition: xmlstorage.h:180
#define MAX_PATH
Definition: compat.h:26
#define WINAPI
Definition: msvc.h:6
__C89_NAMELESS struct _INTERNET_CACHE_CONFIG_INFOW::@3212::@3213 __C89_NAMELESSSTRUCTNAME
unsigned long DWORD
Definition: ntddk_ex.h:95
struct _INTERNET_CACHE_CONFIG_INFOW * LPINTERNET_CACHE_CONFIG_INFOW
DWORD WINAPI DeleteIE3Cache(HWND, HINSTANCE, LPSTR, int)
Definition: urlcache.c:3958
uint32_t DWORD_PTR
Definition: typedefs.h:63
WININET_SYNC_MODE
Definition: winineti.h:88
#define __C89_NAMELESS
Definition: _mingw_mac.h:128
BOOL WINAPI IncrementUrlCacheHeaderData(DWORD, LPDWORD)
Definition: urlcache.c:4108
DWORD * PDWORD
Definition: pedump.c:68
uint32_t * LPDWORD
Definition: typedefs.h:57
struct _INTERNET_CACHE_CONFIG_INFOA * LPINTERNET_CACHE_CONFIG_INFOA
ULONGLONG * PDWORDLONG
Definition: ms-dtyp.idl:93
const char * PCSTR
Definition: typedefs.h:51
BOOL WINAPI SetUrlCacheConfigInfoW(LPINTERNET_CACHE_CONFIG_INFOW, DWORD)
Definition: urlcache.c:3941
BOOL WINAPI InternetGetSecurityInfoByURLA(LPSTR, PCCERT_CHAIN_CONTEXT *, DWORD *)
Definition: internet.c:4479