Go to main content

man pages section 3: Extended Library Functions, Volume 2

Exit Print View

Updated: Thursday, June 13, 2019
 
 

HBA_GetVendorLibraryAttributes(3HBAAPI)

Name

HBA_GetWrapperLibraryAttributes, HBA_GetVendorLibraryAttributes - return details about the implementation of the wrapper library and the vendor specific library

Synopsis

cc [ flag… ] file–lHBAAPI [ library… ]
#include <hbaapi.h>

HBA_UINT32 HBA_GetWrapperLibraryAttributes(
     HBA_LIBRARYATTRIBUTES *attributes);
HBA_UINT32 HBA_GetVendorLibraryAttributes(HBA_UINT32 adapter_index,
     HBA_LIBRARYATTRIBUTES *attributes);

Parameters

attributes
HBA_GetWrapperLibraryAttributes()

a pointer to a HBA_LIBRARYATTRIBUTES structure where the wrapper library information is returned

HBA_GetVendorLibraryAttributes()

a pointer to a HBA_LIBRARYATTRIBUTES structure where the vendor-specific library information is returned

adapter_index

index of the HBA. The value ust be within the range of 1 and the value returned by HBA_GetNumberOfAdapters(3HBAAPI).

Description

The HBA_GetWrapperLibraryAttributes() function returns details about the wrapper library.

The HBA_GetVendorLibraryAttributes() function returns details about the vendor specific library. The vendor-specific library selected is based on the adapter_index.

Return Values

The HBA_GetWrapperLibraryAttributes() and HBA_GetVendorLibraryAttributes() functions return the version of the HBA API specification.

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Committed
Standard: FC-HBA Version 4 (API version 2)
MT-Level
Safe
Standard
FC-MI 1.92 (API version 1)

See Also

HBA_GetNumberOfAdapters(3HBAAPI), libhbaapi(3LIB), attributes(7)

T11 FC-MI Specification