tcpiputils/dnd/inc/servers.h
branchRCL_3
changeset 58 8d540f55e491
parent 57 abbed5a4b42a
child 75 c1029e558ef5
equal deleted inserted replaced
57:abbed5a4b42a 58:8d540f55e491
    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
    62 	};
    63 	};
    63 
    64 
    64 class MDnsServerListNotify
    65 class MDnsServerListNotify
    65 	{
    66 	{
    66 public:
    67 public:
   171 	// @param	aAddr	the address
   172 	// @param	aAddr	the address
   172 	// @param	aNetwork	the network id
   173 	// @param	aNetwork	the network id
   173 	// @param	aFilter	the server filter to modify
   174 	// @param	aFilter	the server filter to modify
   174 	*/
   175 	*/
   175 	virtual void LockByAddress(const TInetAddr &aAddr, TUint32 aNid, TDnsServerFilter &aFilter) = 0;
   176 	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;
   176 	};
   190 	};
   177 
   191 
   178 class CDndEngine;
   192 class CDndEngine;
   179 class DnsServerManager
   193 class DnsServerManager
   180 	{
   194 	{