diff options
author | Chris Sutcliffe <ir0nh34d@users.sourceforge.net> | 2009-11-14 00:45:35 +0000 |
---|---|---|
committer | Chris Sutcliffe <ir0nh34d@users.sourceforge.net> | 2009-11-14 00:45:35 +0000 |
commit | 35d6a288b28acb2dec39db151e7a3ab4218a0f35 (patch) | |
tree | 3aa1005a10754e9b57523f7b75069c3fe71a6f2a | |
parent | 2142a1930c2ada0c20f18fee7b986d95cfc1a90b (diff) | |
download | newlib-35d6a288b28acb2dec39db151e7a3ab4218a0f35.zip newlib-35d6a288b28acb2dec39db151e7a3ab4218a0f35.tar.gz newlib-35d6a288b28acb2dec39db151e7a3ab4218a0f35.tar.bz2 |
2009-13-09 Robert Moerland <rjmoerland@users.sourceforge.net>
* include/wininet.h (NTERNET_CACHE_ENTRY_INFOW): Correct definition.
(DeleteUrlCacheEntryW, DeleteUrlCacheEntryA): Define.
-rw-r--r-- | winsup/w32api/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/w32api/include/wininet.h | 10 |
2 files changed, 13 insertions, 2 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index ea47470..a72304f 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,8 @@ +2009-13-09 Robert Moerland <rjmoerland@users.sourceforge.net> + + * include/wininet.h (NTERNET_CACHE_ENTRY_INFOW): Correct definition. + (DeleteUrlCacheEntryW, DeleteUrlCacheEntryA): Define. + 2009-13-09 Jacky Lai <crazyjacky@users.sourceforge.net> * include/winerror.h: Fix typos in macro names. diff --git a/winsup/w32api/include/wininet.h b/winsup/w32api/include/wininet.h index 5d7fba3..cadd305 100644 --- a/winsup/w32api/include/wininet.h +++ b/winsup/w32api/include/wininet.h @@ -665,7 +665,7 @@ typedef struct _INTERNET_CACHE_ENTRY_INFOA { } INTERNET_CACHE_ENTRY_INFOA,*LPINTERNET_CACHE_ENTRY_INFOA; typedef struct _INTERNET_CACHE_ENTRY_INFOW { DWORD dwStructSize; - LPSTR lpszSourceUrlName; + LPWSTR lpszSourceUrlName; LPWSTR lpszLocalFileName; DWORD CacheEntryType; DWORD dwUseCount; @@ -856,7 +856,9 @@ HANDLE WINAPI FindFirstUrlCacheEntryW(LPCSTR,LPINTERNET_CACHE_ENTRY_INFOW,PDWORD BOOL WINAPI FindNextUrlCacheEntryA(HANDLE,LPINTERNET_CACHE_ENTRY_INFOA,PDWORD); BOOL WINAPI FindNextUrlCacheEntryW(HANDLE,LPINTERNET_CACHE_ENTRY_INFOW,PDWORD); BOOL WINAPI FindCloseUrlCache(HANDLE); -BOOL WINAPI DeleteUrlCacheEntry(LPCSTR); +BOOL WINAPI DeleteUrlCacheEntryA(LPCSTR); +BOOL WINAPI DeleteUrlCacheEntryW(LPCWSTR); + DWORD AuthenticateUser(PVOID*,LPSTR,LPSTR,DWORD,LPSTR,DWORD,LPSTR,LPSTR); BOOL WINAPI HttpSendRequestExA(HINTERNET,LPINTERNET_BUFFERSA,LPINTERNET_BUFFERSA,DWORD,DWORD); BOOL WINAPI HttpSendRequestExW(HINTERNET,LPINTERNET_BUFFERSW,LPINTERNET_BUFFERSW,DWORD,DWORD); @@ -929,6 +931,8 @@ BOOL WINAPI SetUrlCacheGroupAttributeW(GROUPID,DWORD,DWORD,LPINTERNET_CACHE_GROU #define HttpEndRequest HttpEndRequestW #define GetUrlCacheGroupAttribute GetUrlCacheGroupAttributeW #define SetUrlCacheGroupAttribute SetUrlCacheGroupAttributeW +#define DeleteUrlCacheEntry DeleteUrlCacheEntryW + #else #define GopherGetAttribute GopherGetAttributeA #define InternetCrackUrl InternetCrackUrlA @@ -978,6 +982,8 @@ BOOL WINAPI SetUrlCacheGroupAttributeW(GROUPID,DWORD,DWORD,LPINTERNET_CACHE_GROU #define HttpEndRequest HttpEndRequestA #define GetUrlCacheGroupAttribute GetUrlCacheGroupAttributeA #define SetUrlCacheGroupAttribute SetUrlCacheGroupAttributeA +#define DeleteUrlCacheEntry DeleteUrlCacheEntryA + #endif /* UNICODE */ #endif /* RC_INVOKED */ #ifdef __cplusplus |