2002-01-29 19:12:28 +01:00
|
|
|
/*
|
|
|
|
* Wininet - Url Cache functions
|
|
|
|
*
|
2002-06-22 01:59:49 +02:00
|
|
|
* Copyright 2001,2002 CodeWeavers
|
2002-01-29 19:12:28 +01:00
|
|
|
*
|
|
|
|
* Eric Kohl
|
2002-06-22 01:59:49 +02:00
|
|
|
* Aric Stewart
|
2002-01-29 19:12:28 +01:00
|
|
|
*
|
2002-03-10 00:29:33 +01:00
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
2002-01-29 19:12:28 +01:00
|
|
|
*/
|
|
|
|
#include "config.h"
|
|
|
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include <time.h>
|
|
|
|
|
|
|
|
#include "windef.h"
|
|
|
|
#include "winbase.h"
|
|
|
|
#include "wininet.h"
|
|
|
|
#include "winerror.h"
|
|
|
|
|
2002-03-10 00:29:33 +01:00
|
|
|
#include "wine/debug.h"
|
2002-01-29 19:12:28 +01:00
|
|
|
#include "internet.h"
|
|
|
|
|
2002-03-10 00:29:33 +01:00
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(wininet);
|
2002-01-29 19:12:28 +01:00
|
|
|
|
2002-09-28 00:05:23 +02:00
|
|
|
INTERNETAPI GROUPID WINAPI CreateUrlCacheGroup(DWORD dwFlags, LPVOID
|
|
|
|
lpReserved)
|
|
|
|
{
|
|
|
|
FIXME("stub\n");
|
|
|
|
return FALSE;
|
|
|
|
}
|
2002-01-29 19:12:28 +01:00
|
|
|
|
|
|
|
INTERNETAPI HANDLE WINAPI FindFirstUrlCacheEntryA(LPCSTR lpszUrlSearchPattern,
|
|
|
|
LPINTERNET_CACHE_ENTRY_INFOA lpFirstCacheEntryInfo, LPDWORD lpdwFirstCacheEntryInfoBufferSize)
|
|
|
|
{
|
2002-06-22 01:59:49 +02:00
|
|
|
FIXME("STUB\n");
|
2002-01-29 19:12:28 +01:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
INTERNETAPI HANDLE WINAPI FindFirstUrlCacheEntryW(LPCWSTR lpszUrlSearchPattern,
|
|
|
|
LPINTERNET_CACHE_ENTRY_INFOW lpFirstCacheEntryInfo, LPDWORD lpdwFirstCacheEntryInfoBufferSize)
|
|
|
|
{
|
2002-06-22 01:59:49 +02:00
|
|
|
FIXME("STUB\n");
|
2002-01-29 19:12:28 +01:00
|
|
|
return 0;
|
|
|
|
}
|
2002-06-22 01:59:49 +02:00
|
|
|
|
|
|
|
BOOL WINAPI RetrieveUrlCacheEntryFileA (LPCSTR lpszUrlName,
|
|
|
|
LPINTERNET_CACHE_ENTRY_INFOA lpCacheEntryInfo, LPDWORD
|
|
|
|
lpdwCacheEntryInfoBufferSize, DWORD dwReserved)
|
|
|
|
{
|
|
|
|
FIXME("STUB\n");
|
|
|
|
SetLastError(ERROR_FILE_NOT_FOUND);
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
|
|
|
BOOL WINAPI DeleteUrlCacheEntry(LPCSTR lpszUrlName)
|
|
|
|
{
|
|
|
|
FIXME("STUB (%s)\n",lpszUrlName);
|
|
|
|
SetLastError(ERROR_FILE_NOT_FOUND);
|
|
|
|
return FALSE;
|
|
|
|
}
|
2002-09-28 00:05:23 +02:00
|
|
|
|
|
|
|
BOOL WINAPI DeleteUrlCacheGroup(GROUPID GroupId, DWORD dwFlags, LPVOID lpReserved)
|
|
|
|
{
|
|
|
|
FIXME("STUB\n");
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
|
|
|
BOOL WINAPI SetUrlCacheEntryGroup(LPCSTR lpszUrlName, DWORD dwFlags,
|
|
|
|
GROUPID GroupId, LPBYTE pbGroupAttributes, DWORD cbGroupAttributes,
|
|
|
|
LPVOID lpReserved)
|
|
|
|
{
|
|
|
|
FIXME("STUB\n");
|
|
|
|
SetLastError(ERROR_FILE_NOT_FOUND);
|
|
|
|
return FALSE;
|
|
|
|
}
|