Fixed some issues found by winapi_check.
[wine] / dlls / wininet / urlcache.c
1 /*
2  * Wininet - Url Cache functions
3  *
4  * Copyright 2001,2002 CodeWeavers
5  *
6  * Eric Kohl
7  * Aric Stewart
8  *
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.
13  *
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.
18  *
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
22  */
23 #include "config.h"
24
25 #include <stdlib.h>
26 #include <string.h>
27 #include <time.h>
28
29 #include "windef.h"
30 #include "winbase.h"
31 #include "wininet.h"
32 #include "winerror.h"
33
34 #include "wine/debug.h"
35 #include "internet.h"
36
37 WINE_DEFAULT_DEBUG_CHANNEL(wininet);
38
39
40 INTERNETAPI HANDLE WINAPI FindFirstUrlCacheEntryA(LPCSTR lpszUrlSearchPattern,
41  LPINTERNET_CACHE_ENTRY_INFOA lpFirstCacheEntryInfo, LPDWORD lpdwFirstCacheEntryInfoBufferSize)
42 {
43   FIXME("STUB\n");
44   return 0;
45 }
46
47 INTERNETAPI HANDLE WINAPI FindFirstUrlCacheEntryW(LPCWSTR lpszUrlSearchPattern,
48  LPINTERNET_CACHE_ENTRY_INFOW lpFirstCacheEntryInfo, LPDWORD lpdwFirstCacheEntryInfoBufferSize)
49 {
50   FIXME("STUB\n");
51   return 0;
52 }
53
54 BOOL WINAPI RetrieveUrlCacheEntryFileA (LPCSTR lpszUrlName,
55                                         LPINTERNET_CACHE_ENTRY_INFOA lpCacheEntryInfo, LPDWORD
56                                         lpdwCacheEntryInfoBufferSize, DWORD dwReserved)
57 {
58     FIXME("STUB\n");
59     SetLastError(ERROR_FILE_NOT_FOUND);
60     return FALSE;
61 }
62
63 BOOL WINAPI DeleteUrlCacheEntry(LPCSTR lpszUrlName)
64 {
65     FIXME("STUB (%s)\n",lpszUrlName);
66     SetLastError(ERROR_FILE_NOT_FOUND);
67     return FALSE;
68 }