The Virtual Interface Architecture

Name Service

VipNSInit

Synopsis

VIP_RETURN     VipNSInit(     IN VIP_NIC_HANDLE      NicHandle,     IN VIP_PVOID           NSInitInfo     ) 

Parameters

NicHandle :

The VI NIC context in which to initialize the name service.

NSInitInfo :

nitialization information for the name service. In the case of a file based name service, this could be the name of the alternate file to use for name lookups. A value of (VIP_PVOID)0 specifies default behavior.

Description

VipNSInit initializes the name service using the specified parameters. It is recommended that it be possible to successfully initialize the name service by specifying default behavior. For example, set the NSInitInfo parameter to (VIP_PVOID)0.

It is up to the provider of the name service routines to specify the format of the initialization parameter. It is recommended that file-based name service implementations use the initialization parameter to specify an alternate database file. It is also recommended that other name service implementations use string-based initialization parameters.

Returns

VIP_SUCCESS Operation completed successfully.

VIP_INVALID_PARAMETER The NSInitInfo parameter or NicHandle parameter was invalid.

VIP_ERROR_NAMESERVICE Name service for the specified NIC context is already initialized.

VIP_ERROR_RESOURCE The operation failed due to insufficient resources or was unable to initialize resources.

VipNSGetHostByName

Synopsis

VIP_RETURN     VipNSGetHostByName(   ...

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Domain Registration Services
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.