2 * Wininet - Url Cache functions
4 * Copyright 2001,2002 CodeWeavers
9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public
11 * License as published by the Free Software Foundation; either
12 * version 2.1 of the License, or (at your option) any later version.
14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Lesser General Public License for more details.
19 * You should have received a copy of the GNU Lesser General Public
20 * License along with this library; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
34 #include "wine/debug.h"
37 WINE_DEFAULT_DEBUG_CHANNEL(wininet);
39 INTERNETAPI GROUPID WINAPI CreateUrlCacheGroup(DWORD dwFlags, LPVOID
46 INTERNETAPI HANDLE WINAPI FindFirstUrlCacheEntryA(LPCSTR lpszUrlSearchPattern,
47 LPINTERNET_CACHE_ENTRY_INFOA lpFirstCacheEntryInfo, LPDWORD lpdwFirstCacheEntryInfoBufferSize)
53 INTERNETAPI HANDLE WINAPI FindFirstUrlCacheEntryW(LPCWSTR lpszUrlSearchPattern,
54 LPINTERNET_CACHE_ENTRY_INFOW lpFirstCacheEntryInfo, LPDWORD lpdwFirstCacheEntryInfoBufferSize)
60 BOOL WINAPI RetrieveUrlCacheEntryFileA (LPCSTR lpszUrlName,
61 LPINTERNET_CACHE_ENTRY_INFOA lpCacheEntryInfo, LPDWORD
62 lpdwCacheEntryInfoBufferSize, DWORD dwReserved)
65 SetLastError(ERROR_FILE_NOT_FOUND);
69 BOOL WINAPI DeleteUrlCacheEntry(LPCSTR lpszUrlName)
71 FIXME("STUB (%s)\n",lpszUrlName);
72 SetLastError(ERROR_FILE_NOT_FOUND);
76 BOOL WINAPI DeleteUrlCacheGroup(GROUPID GroupId, DWORD dwFlags, LPVOID lpReserved)
82 BOOL WINAPI SetUrlCacheEntryGroup(LPCSTR lpszUrlName, DWORD dwFlags,
83 GROUPID GroupId, LPBYTE pbGroupAttributes, DWORD cbGroupAttributes,
87 SetLastError(ERROR_FILE_NOT_FOUND);
91 /***********************************************************************
92 * CommitUrlCacheEntryA (WININET.@)
95 BOOL WINAPI CommitUrlCacheEntryA(LPCSTR lpszUrl, LPCSTR lpszLocalName,
96 FILETIME ExpireTime, FILETIME lastModified, DWORD cacheEntryType,
97 LPBYTE lpHeaderInfo, DWORD headerSize, LPCSTR fileExtension,
104 /***********************************************************************
105 * GetUrlCacheEntryInfoA (WININET.@)
108 BOOL WINAPI GetUrlCacheEntryInfoA(LPCSTR lpszUrl,
109 LPINTERNET_CACHE_ENTRY_INFOA lpCacheEntry,
110 LPDWORD lpCacheEntrySize)
112 FIXME("(%s) stub\n",lpszUrl);
113 SetLastError(ERROR_FILE_NOT_FOUND);
117 /***********************************************************************
118 * GetUrlCacheEntryInfoExA (WININET.@)
121 BOOL WINAPI GetUrlCacheEntryInfoExA(
123 LPINTERNET_CACHE_ENTRY_INFOA lpCacheEntryInfo,
124 LPDWORD lpdwCacheEntryInfoBufSize,
126 LPDWORD lpdwReserved,
130 FIXME(" url=%s, flags=%ld\n",lpszUrl,dwFlags);
131 INTERNET_SetLastError(ERROR_FILE_NOT_FOUND);
135 /***********************************************************************
136 * GetUrlCacheEntryInfoExW (WININET.@)
139 BOOL WINAPI GetUrlCacheEntryInfoExW(
141 LPINTERNET_CACHE_ENTRY_INFOW lpCacheEntryInfo,
142 LPDWORD lpdwCacheEntryInfoBufSize,
144 LPDWORD lpdwReserved,
148 FIXME(" url=%s, flags=%ld\n",debugstr_w(lpszUrl),dwFlags);
149 INTERNET_SetLastError(ERROR_FILE_NOT_FOUND);