diff -r bb2423252ea3 -r c1029e558ef5 tcpiputils/dnd/inc/dns.h --- a/tcpiputils/dnd/inc/dns.h Wed Sep 15 13:53:10 2010 +0300 +++ b/tcpiputils/dnd/inc/dns.h Wed Oct 13 16:17:27 2010 +0300 @@ -51,7 +51,7 @@ // // MDnsSession API (methods callable by resolver) // (documented in the mixin class) - virtual TInt NewQuery(const TDnsMessage &aQuery, TDnsServerScope aServerScope, TUint32 aFlags, TBool aSuffixSupportEnabled); + virtual TInt NewQuery(const TDnsMessage &aQuery, TDnsServerScope aServerScope, TUint32 aFlags); virtual void CancelQuery(); virtual TInt DoQueryL(const TTime &aRequestTime, const EDnsQType aQType); virtual TInt DoNext(TDnsMessageBuf &aReply, TInt aNext) const; @@ -118,14 +118,7 @@ // "Owner" source CDndDnsclient *iOwner; //< Actual owner of the request data - TUint iNetworkId; //< NetworkId from the request message. - RInetSuffixList iSuffixList; //< Container to store the domain search list on the interface where the query is sent - TBool iIsIncompleteHostName; //< Flag sent on the query to identify queries that need to retried on suffixes - TBool iCanResolveIncompleteName; //< Flag to confirm incomplete name without domain suffix tried for resolution as it is - THostName iActualQueryName; //< To store actual query name while domain suffixes are being applied - TBool iPendingSuffixExist; //< Flag set when suffixes are exhausted - TInt iFlowReqType; //< Differentiates IMPLICIT/EXPLICIT - TBool iSuffixSupportEnabled; //< Flag to switch ON/OFF the suffix support + TUint iNetworkId; //< NetworkId from the request message. }; class TInetAddressInfo; @@ -158,12 +151,14 @@ void Query(const TMsgBuf &/*aBuf*/, const TInetAddr &/*aServer*/, const RSocket &/*aSocket*/) {} // Received an error indication for a server void Error(const TInetAddr &aServer, TInt aError); - inline void ActivateSocketL(TUint aNetworkId = 0) { CDnsSocket::ActivateSocketL(aNetworkId); } // lint placebo + inline CDnsSocketWriter * ActivateSocketL(TUint aNetworkId = 0) { return (CDnsSocket::ActivateSocketL(aNetworkId)); } // lint placebo CDndEngine &iControl; //< The DND Engine MDnsServerManager &iServerManager; //< The server manager TDndReqData iDndReqData[KDndNumRequests]; //< Requests being served - TUint iActivityCount; //< Count of activity, shut DNS sockets when ZERO. + //TUint iActivityCount; //< Count of activity, shut DNS sockets when ZERO. + TUint iSessionCount; + TUint iQueryCount; CDndCache *iCache; //< The Cache THostNames iHostNames; //< The current hostnames };