applayerpluginsandutils/httpprotocolplugins/httpclient/chttpclienthandler.h
changeset 49 b91bcc4b38e4
parent 0 b16258d2340f
--- a/applayerpluginsandutils/httpprotocolplugins/httpclient/chttpclienthandler.h	Mon Sep 27 10:31:51 2010 +0530
+++ b/applayerpluginsandutils/httpprotocolplugins/httpclient/chttpclienthandler.h	Mon Oct 04 15:35:43 2010 +0530
@@ -1,4 +1,4 @@
-// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2003-2010 Nokia Corporation and/or its subsidiary(-ies).
 // All rights reserved.
 // This component and the accompanying materials are made available
 // under the terms of "Eclipse Public License v1.0"
@@ -34,6 +34,15 @@
 class TDNInfo;
 class CHttpPipelineFallback;
 
+/**
+ * Enumeration for NTLM authentication state.
+ */
+enum {
+        ENtlmIdle,
+        ENtlmNegotiate,
+        ENtlmAuthenticate
+    };
+
 class CHttpClientHandler : public CProtocolHandler, 
 						   public MConnectionPrefsProvider,
 						   public MRxDataObserver,
@@ -93,6 +102,7 @@
 	void AddTunnelInfoL(RHTTPTransaction aTrans, const TDesC8& aHost, TInt aPort);
 	TBool SelectConnectionManagerL(const CHttpConnectionInfo& aConnectionInfo, RHTTPTransaction aTrans, TBool aCanPipeline, CHttpConnectionManager *&aManager);
 	CHttpConnectionManager* SelectTunnelConnectionL(const CHttpConnectionInfo& aConnectionInfo, RHTTPTransaction aTrans, TBool aCanPipeline);
+	CHttpConnectionManager* SelectNtlmConnectionL(const CHttpConnectionInfo& aConnectionInfo,RHTTPTransaction aTrans);
 	TInt MaxNumConnectionManagers() const;
 	void SetupProxyInformation(RHTTPTransaction aTrans);
 	TBool CheckPipelineSupport(RHTTPTransaction aTrans);