Main Page | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

vipnsinit.c File Reference

#include "vipl_priv.h"

Go to the source code of this file.

Functions

VIP_ENTRY_POINT VIP_RETURN VipNSInit (VIP_NIC_HANDLE NicHandle, VIP_PVOID NSInitInfo)


Detailed Description

The VI-GM function VipNSInit implementation.

Definition in file vipnsinit.c.


Function Documentation

VIP_ENTRY_POINT VIP_RETURN VipNSInit VIP_NIC_HANDLE  NicHandle,
VIP_PVOID  NSInitInfo
 

VipNSInit() initializes the name service using the specified parameters. The name service is always initialized successfully by specifying the default behavior (e.g. set the NSInitInfo parameter to (VIP_PVOID) 0). A different value for NSInitInfo is invalid.

Return values:
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.
Parameters:
NicHandle (IN) The VI NIC context in which to initialize the name service.
NSInitInfo (IN) Initialization information for the name service. Only (VIP_PVOID) is a valid value.
See also:
VipNSShutdown VipNSGetHostByName VipNSGetHostByAddr
Author:
Patrick Geoffray
Version:
1.0

Definition at line 44 of file vipnsinit.c.

References VIP_DEBUG, VIP_DEBUG_LABEL, VIP_ERROR_NAMESERVICE, VIP_INVALID_NIC_HANDLE, VIP_INVALID_PARAMETER, VIP_MUTEX_LOCK, VIP_MUTEX_UNLOCK, VIP_SUCCESS, and VIP_TRUE.

VI-GM-1.3 by Myricom © 1997-2006. Documentation generated on 20 May 2006 by doxygen 1.4.4.