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

vipdestroyptag.c File Reference

#include "vipl_priv.h"

Go to the source code of this file.

Functions

VIP_ENTRY_POINT VIP_RETURN VipDestroyPtag (VIP_NIC_HANDLE NicHandle, VIP_PROTECTION_HANDLE ProtectionTag)


Detailed Description

The VI-GM function VipDestroyPtag implementation.

Definition in file vipdestroyptag.c.


Function Documentation

VIP_ENTRY_POINT VIP_RETURN VipDestroyPtag VIP_NIC_HANDLE  NicHandle,
VIP_PROTECTION_HANDLE  ProtectionTag
 

The VipDestroyPtag() function destroys a protection tag. If the specified protection tag is associated with either a VI instance or a registered memory region at the time of the call, an error is returned.

Return values:
VIP_SUCCESS The memory protection tag was successfully destroyed.
VIP_ERROR_RESOURCE A VI instance or a registered memory region is still associated with the specified protection tag or the operation failed due to insufficient resources.
VIP_INVALID_PARAMETER One of the parameters was invalid.
Parameters:
NicHandle (IN) The NIC handle associated with the protection tag.
ProtectionTag (IN) The protection tag.
See also:
VipCreatePtag VIP_PTAG
Author:
Patrick Geoffray
Version:
1.0

Definition at line 39 of file vipdestroyptag.c.

References VIP_DEBUG, VIP_DEBUG_LABEL, VIP_ERROR_RESOURCE, vip_free_handle(), VIP_INVALID_NIC_HANDLE, VIP_INVALID_PARAMETER, VIP_INVALID_PTAG_HANDLE, VIP_MUTEX_LOCK, VIP_MUTEX_UNLOCK, and VIP_SUCCESS.

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