networkprotocols/iphook/inhook6/include/in_bind.h
branchRCL_3
changeset 21 abbed5a4b42a
parent 20 7e41d162e158
child 22 8d540f55e491
equal deleted inserted replaced
20:7e41d162e158 21:abbed5a4b42a
   368 	*
   368 	*
   369 	* Note that TSoInetInterfaceInfo is the structure used by the Symbian OS v6.1 
   369 	* Note that TSoInetInterfaceInfo is the structure used by the Symbian OS v6.1 
   370 	* IPv4 stack. The IPv6 interfaces do not provide automatic information about 
   370 	* IPv4 stack. The IPv6 interfaces do not provide automatic information about 
   371 	* the name servers or gateways. Some of the information comes from the neighbor 
   371 	* the name servers or gateways. Some of the information comes from the neighbor 
   372 	* discovery or service location protocols.
   372 	* discovery or service location protocols.
   373 	*
       
   374 	* TSoInetInterfaceInfoExtnDnsSuffix structure can also be used for retreiving interface
       
   375 	* information if we need values for supplementary fields like the domain search list
       
   376 	* This support is available since Symbian OS vtb92 and later
       
   377 	*
   373 	*
   378 	* @param aIndex
   374 	* @param aIndex
   379 	*	previous index value, use ZERO to restart scan from beginning. <b>Note</b>: This
   375 	*	previous index value, use ZERO to restart scan from beginning. <b>Note</b>: This
   380 	*	is not same as "interface index", which identifies a interface in the system.
   376 	*	is not same as "interface index", which identifies a interface in the system.
   381 	* @retval aInfo
   377 	* @retval aInfo
   562 	* @param aOption	An option value
   558 	* @param aOption	An option value
   563 	* @param aChecker	The policy checker
   559 	* @param aChecker	The policy checker
   564 	* @return 			System-wide error code
   560 	* @return 			System-wide error code
   565 	*/
   561 	*/
   566 	virtual TInt SetOption(TUint aLevel, TUint aName, const TDesC8 &aOption, MProvdSecurityChecker &aChecker) = 0;
   562 	virtual TInt SetOption(TUint aLevel, TUint aName, const TDesC8 &aOption, MProvdSecurityChecker &aChecker) = 0;
   567 	/**
       
   568 	* Enumerates domain suffix information on an interface.
       
   569 	*
       
   570 	* This function identifies the active interface enumerated for reading 
       
   571 	* by the parameter aActiveEnumInterface
       
   572 	*
       
   573 	* It then identifies the last domain suffix read on this inteface by the parameter 
       
   574 	* aDomainSuffixIndex
       
   575 	* 
       
   576 	* To start, call first with aDomainSuffixIndex=0, and after that always give the previously 
       
   577 	* returned value as a parameter. When the return value is 0, all domain suffices
       
   578 	* have been listed.
       
   579 	*
       
   580 	* The domain suffix thus read is saved to the reference TInetSuffix object passed in as argument
       
   581 	*
       
   582 	* @param aActiveEnumInterface
       
   583 	*	previously indexed interface's name saved during enumeration done using KSoInetNextInterface
       
   584 	*	Can be used to enumerate on specific interface by passing the interface name
       
   585 	* @aDomainSuffixIndex
       
   586 	*	previous domain suffix index value, use ZERO to restart scan from beginning.
       
   587 	* @retval aInfo
       
   588 	*	returns the information about the domain suffix on the interface
       
   589 	*	at next index position of the list of domain suffices for that interface
       
   590 	* @return
       
   591 	*	@li = 0, if no next domain suffix exists
       
   592 	*	@li > 0, interface index, aInfo updated to describe this domain suffix in the list
       
   593 	*	@li = KErrNotFound, if interface does not exist (or) when no domain suffix available for the interface
       
   594 	*/	
       
   595 	virtual TInt DomainSuffixInfo(TName aActiveEnumInterface, TUint aDomainSuffixIndex, TInetSuffix &aInfo) = 0;
       
   596 	};
   563 	};
   597 
   564 
   598 
   565 
   599 // MNetworkService
   566 // MNetworkService
   600 // ***************
   567 // ***************