view deps/Platinum/ThirdParty/Neptune/Source/System/Win32/NptWin32HttpProxy.cpp @ 0:3425707ddbf6

Initial import (hopefully this mercurial stuff works...)
author fraserofthenight
date Mon, 06 Jul 2009 08:06:28 -0700
parents
children
line wrap: on
line source

/*****************************************************************
|
|      Neptune - HTTP Proxy :: WinHttp Implementation
|
|      (c) 2001-2007 Gilles Boccon-Gibod
|      Author: Gilles Boccon-Gibod (bok@bok.net)
|
****************************************************************/

/*----------------------------------------------------------------------
|       includes
+---------------------------------------------------------------------*/
//#include <Winhttp.h>
#include "NptResults.h"
#include "NptHttp.h"
#include "NptThreads.h"

#if 0 // not implemented yet
HINTERNET NPT_Win32HttpHandle = INVALID_HANDLE_VALUE;
NPT_Lock NPT_Win32HttpLock;

/*----------------------------------------------------------------------
|       NPT_HttpProxySelector::GetSystemDefault
+---------------------------------------------------------------------*/
NPT_HttpProxySelector*
NPT_HttpProxySelector::GetSystemDefault()
{
    NPT_AutoLock lock(NPT_Win32HttpLock);

    if (NPT_Win32HttpHandle == INVALID_HANDLE_VALUE) {
        WINHTTP_CURRENT_USER_IE_PROXY_CONFIG config;
        BOOL result = WinHttpGetIEProxyConfigForCurrentUser(&config);
    }

    return NULL;
}
#else
NPT_HttpProxySelector*
NPT_HttpProxySelector::GetSystemDefault()
{
    return NULL;
}
#endif