tcpiputils/dnd/inc/servers.h
branchRCL_3
changeset 75 c1029e558ef5
parent 58 8d540f55e491
equal deleted inserted replaced
67:bb2423252ea3 75:c1029e558ef5
    57 	inline TBool IsMulticast() const { return iServerScope > 0; }
    57 	inline TBool IsMulticast() const { return iServerScope > 0; }
    58 	TInt iServerId;					//< Current default server (0 = first matching server)
    58 	TInt iServerId;					//< Current default server (0 = first matching server)
    59 	TUint32 iLockId;				//< Eligible severs must be from "locked" scope
    59 	TUint32 iLockId;				//< Eligible severs must be from "locked" scope
    60 	TUint8 iLockType;				//< Locked scope level [1,,16]
    60 	TUint8 iLockType;				//< Locked scope level [1,,16]
    61 	TDnsServerScope iServerScope:8;	//< Server scope and type
    61 	TDnsServerScope iServerScope:8;	//< Server scope and type
    62 	THostName  iDomainName;         //< Domain name of the query for interface selection
       
    63 	};
    62 	};
    64 
    63 
    65 class MDnsServerListNotify
    64 class MDnsServerListNotify
    66 	{
    65 	{
    67 public:
    66 public:
   172 	// @param	aAddr	the address
   171 	// @param	aAddr	the address
   173 	// @param	aNetwork	the network id
   172 	// @param	aNetwork	the network id
   174 	// @param	aFilter	the server filter to modify
   173 	// @param	aFilter	the server filter to modify
   175 	*/
   174 	*/
   176 	virtual void LockByAddress(const TInetAddr &aAddr, TUint32 aNid, TDnsServerFilter &aFilter) = 0;
   175 	virtual void LockByAddress(const TInetAddr &aAddr, TUint32 aNid, TDnsServerFilter &aFilter) = 0;
   177 
       
   178 	/**
       
   179 	// @brief	Retrieves the domain suffix list set on the interface associated with the connection
       
   180 	// @param	aServerId	The id of the server associated with the connection
       
   181 	// @param	aSuffixList reference to array for reading the interface specific domain suffices
       
   182 	*/
       
   183 	virtual void InterfaceSuffixList(TInt aServerId, RInetSuffixList& aSuffixList) = 0;
       
   184 	/**
       
   185 	// @brief	Modifies the outbound query properties so that the interface associated
       
   186 	//				with the query supports the domain name of the query
       
   187 	// @param	aFilter	Reference to server properties associated with the query
       
   188 	*/
       
   189 	virtual void UpdateDomain(TDnsServerFilter &aFilter) const = 0;
       
   190 	};
   176 	};
   191 
   177 
   192 class CDndEngine;
   178 class CDndEngine;
   193 class DnsServerManager
   179 class DnsServerManager
   194 	{
   180 	{