wininet: Move cookie-related stubs to cookie.c
This commit is contained in:
parent
5b5d45586e
commit
153aac0194
|
@ -504,3 +504,152 @@ BOOL WINAPI InternetSetCookieA(LPCSTR lpszUrl, LPCSTR lpszCookieName,
|
|||
|
||||
return r;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* InternetSetCookieExA (WININET.@)
|
||||
*
|
||||
* See InternetSetCookieExW.
|
||||
*/
|
||||
DWORD WINAPI InternetSetCookieExA( LPCSTR lpszURL, LPCSTR lpszCookieName, LPCSTR lpszCookieData,
|
||||
DWORD dwFlags, DWORD_PTR dwReserved)
|
||||
{
|
||||
FIXME("(%s, %s, %s, 0x%08lx, 0x%08lx) stub\n",
|
||||
debugstr_a(lpszURL), debugstr_a(lpszCookieName), debugstr_a(lpszCookieData),
|
||||
dwFlags, dwReserved);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* InternetSetCookieExW (WININET.@)
|
||||
*
|
||||
* Sets a cookie for the specified URL.
|
||||
*
|
||||
* RETURNS
|
||||
* TRUE on success
|
||||
* FALSE on failure
|
||||
*
|
||||
*/
|
||||
DWORD WINAPI InternetSetCookieExW( LPCWSTR lpszURL, LPCWSTR lpszCookieName, LPCWSTR lpszCookieData,
|
||||
DWORD dwFlags, DWORD_PTR dwReserved)
|
||||
{
|
||||
FIXME("(%s, %s, %s, 0x%08lx, 0x%08lx) stub\n",
|
||||
debugstr_w(lpszURL), debugstr_w(lpszCookieName), debugstr_w(lpszCookieData),
|
||||
dwFlags, dwReserved);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* InternetGetCookieExA (WININET.@)
|
||||
*
|
||||
* See InternetGetCookieExW.
|
||||
*/
|
||||
BOOL WINAPI InternetGetCookieExA( LPCSTR pchURL, LPCSTR pchCookieName, LPSTR pchCookieData,
|
||||
LPDWORD pcchCookieData, DWORD dwFlags, LPVOID lpReserved)
|
||||
{
|
||||
FIXME("(%s, %s, %s, %p, 0x%08lx, %p) stub\n",
|
||||
debugstr_a(pchURL), debugstr_a(pchCookieName), debugstr_a(pchCookieData),
|
||||
pcchCookieData, dwFlags, lpReserved);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* InternetGetCookieExW (WININET.@)
|
||||
*
|
||||
* Retrieve cookie for the specified URL.
|
||||
*
|
||||
* RETURNS
|
||||
* TRUE on success
|
||||
* FALSE on failure
|
||||
*
|
||||
*/
|
||||
BOOL WINAPI InternetGetCookieExW( LPCWSTR pchURL, LPCWSTR pchCookieName, LPWSTR pchCookieData,
|
||||
LPDWORD pcchCookieData, DWORD dwFlags, LPVOID lpReserved)
|
||||
{
|
||||
FIXME("(%s, %s, %s, %p, 0x%08lx, %p) stub\n",
|
||||
debugstr_w(pchURL), debugstr_w(pchCookieName), debugstr_w(pchCookieData),
|
||||
pcchCookieData, dwFlags, lpReserved);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* InternetClearAllPerSiteCookieDecisions (WININET.@)
|
||||
*
|
||||
* Clears all per-site decisions about cookies.
|
||||
*
|
||||
* RETURNS
|
||||
* TRUE on success
|
||||
* FALSE on failure
|
||||
*
|
||||
*/
|
||||
BOOL WINAPI InternetClearAllPerSiteCookieDecisions( VOID )
|
||||
{
|
||||
FIXME("stub\n");
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* InternetEnumPerSiteCookieDecisionA (WININET.@)
|
||||
*
|
||||
* See InternetEnumPerSiteCookieDecisionW.
|
||||
*/
|
||||
BOOL WINAPI InternetEnumPerSiteCookieDecisionA( LPSTR pszSiteName, unsigned long *pcSiteNameSize,
|
||||
unsigned long *pdwDecision, unsigned long dwIndex )
|
||||
{
|
||||
FIXME("(%s, %p, %p, 0x%08lx) stub\n",
|
||||
debugstr_a(pszSiteName), pcSiteNameSize, pdwDecision, dwIndex);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* InternetEnumPerSiteCookieDecisionW (WININET.@)
|
||||
*
|
||||
* Enumerates all per-site decisions about cookies.
|
||||
*
|
||||
* RETURNS
|
||||
* TRUE on success
|
||||
* FALSE on failure
|
||||
*
|
||||
*/
|
||||
BOOL WINAPI InternetEnumPerSiteCookieDecisionW( LPWSTR pszSiteName, unsigned long *pcSiteNameSize,
|
||||
unsigned long *pdwDecision, unsigned long dwIndex )
|
||||
{
|
||||
FIXME("(%s, %p, %p, 0x%08lx) stub\n",
|
||||
debugstr_w(pszSiteName), pcSiteNameSize, pdwDecision, dwIndex);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* InternetGetPerSiteCookieDecisionA (WININET.@)
|
||||
*/
|
||||
BOOL WINAPI InternetGetPerSiteCookieDecisionA( LPCSTR pwchHostName, unsigned long *pResult )
|
||||
{
|
||||
FIXME("(%s, %p) stub\n", debugstr_a(pwchHostName), pResult);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* InternetGetPerSiteCookieDecisionW (WININET.@)
|
||||
*/
|
||||
BOOL WINAPI InternetGetPerSiteCookieDecisionW( LPCWSTR pwchHostName, unsigned long *pResult )
|
||||
{
|
||||
FIXME("(%s, %p) stub\n", debugstr_w(pwchHostName), pResult);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* InternetSetPerSiteCookieDecisionA (WININET.@)
|
||||
*/
|
||||
BOOL WINAPI InternetSetPerSiteCookieDecisionA( LPCSTR pchHostName, DWORD dwDecision )
|
||||
{
|
||||
FIXME("(%s, 0x%08lx) stub\n", debugstr_a(pchHostName), dwDecision);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* InternetSetPerSiteCookieDecisionW (WININET.@)
|
||||
*/
|
||||
BOOL WINAPI InternetSetPerSiteCookieDecisionW( LPCWSTR pchHostName, DWORD dwDecision )
|
||||
{
|
||||
FIXME("(%s, 0x%08lx) stub\n", debugstr_w(pchHostName), dwDecision);
|
||||
return FALSE;
|
||||
}
|
||||
|
|
|
@ -4139,88 +4139,6 @@ BOOL WINAPI CreateMD5SSOHash( PWSTR pszChallengeInfo, PWSTR pwszRealm, PWSTR pws
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
BOOL WINAPI InternetClearAllPerSiteCookieDecisions( VOID )
|
||||
{
|
||||
FIXME("stub\n");
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
BOOL WINAPI InternetEnumPerSiteCookieDecisionA( LPSTR pszSiteName, unsigned long *pcSiteNameSize,
|
||||
unsigned long *pdwDecision, unsigned long dwIndex )
|
||||
{
|
||||
FIXME("(%s, %p, %p, 0x%08lx) stub\n",
|
||||
debugstr_a(pszSiteName), pcSiteNameSize, pdwDecision, dwIndex);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
BOOL WINAPI InternetEnumPerSiteCookieDecisionW( LPWSTR pszSiteName, unsigned long *pcSiteNameSize,
|
||||
unsigned long *pdwDecision, unsigned long dwIndex )
|
||||
{
|
||||
FIXME("(%s, %p, %p, 0x%08lx) stub\n",
|
||||
debugstr_w(pszSiteName), pcSiteNameSize, pdwDecision, dwIndex);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
BOOL WINAPI InternetGetCookieExA( LPCSTR pchURL, LPCSTR pchCookieName, LPSTR pchCookieData,
|
||||
LPDWORD pcchCookieData, DWORD dwFlags, LPVOID lpReserved)
|
||||
{
|
||||
FIXME("(%s, %s, %s, %p, 0x%08lx, %p) stub\n",
|
||||
debugstr_a(pchURL), debugstr_a(pchCookieName), debugstr_a(pchCookieData),
|
||||
pcchCookieData, dwFlags, lpReserved);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
BOOL WINAPI InternetGetCookieExW( LPCWSTR pchURL, LPCWSTR pchCookieName, LPWSTR pchCookieData,
|
||||
LPDWORD pcchCookieData, DWORD dwFlags, LPVOID lpReserved)
|
||||
{
|
||||
FIXME("(%s, %s, %s, %p, 0x%08lx, %p) stub\n",
|
||||
debugstr_w(pchURL), debugstr_w(pchCookieName), debugstr_w(pchCookieData),
|
||||
pcchCookieData, dwFlags, lpReserved);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
BOOL WINAPI InternetGetPerSiteCookieDecisionA( LPCSTR pwchHostName, unsigned long *pResult )
|
||||
{
|
||||
FIXME("(%s, %p) stub\n", debugstr_a(pwchHostName), pResult);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
BOOL WINAPI InternetGetPerSiteCookieDecisionW( LPCWSTR pwchHostName, unsigned long *pResult )
|
||||
{
|
||||
FIXME("(%s, %p) stub\n", debugstr_w(pwchHostName), pResult);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
BOOL WINAPI InternetSetPerSiteCookieDecisionA( LPCSTR pchHostName, DWORD dwDecision )
|
||||
{
|
||||
FIXME("(%s, 0x%08lx) stub\n", debugstr_a(pchHostName), dwDecision);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
BOOL WINAPI InternetSetPerSiteCookieDecisionW( LPCWSTR pchHostName, DWORD dwDecision )
|
||||
{
|
||||
FIXME("(%s, 0x%08lx) stub\n", debugstr_w(pchHostName), dwDecision);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
DWORD WINAPI InternetSetCookieExA( LPCSTR lpszURL, LPCSTR lpszCookieName, LPCSTR lpszCookieData,
|
||||
DWORD dwFlags, DWORD_PTR dwReserved)
|
||||
{
|
||||
FIXME("(%s, %s, %s, 0x%08lx, 0x%08lx) stub\n",
|
||||
debugstr_a(lpszURL), debugstr_a(lpszCookieName), debugstr_a(lpszCookieData),
|
||||
dwFlags, dwReserved);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
DWORD WINAPI InternetSetCookieExW( LPCWSTR lpszURL, LPCWSTR lpszCookieName, LPCWSTR lpszCookieData,
|
||||
DWORD dwFlags, DWORD_PTR dwReserved)
|
||||
{
|
||||
FIXME("(%s, %s, %s, 0x%08lx, 0x%08lx) stub\n",
|
||||
debugstr_w(lpszURL), debugstr_w(lpszCookieName), debugstr_w(lpszCookieData),
|
||||
dwFlags, dwReserved);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
BOOL WINAPI ResumeSuspendedDownload( HINTERNET hInternet, DWORD dwError )
|
||||
{
|
||||
FIXME("(%p, 0x%08lx) stub\n", hInternet, dwError);
|
||||
|
|
Loading…
Reference in New Issue