Common Fibre Channel HBA Information Library Functions
HBA_GetWrapperLibraryAttributes(3HBAAPI)
NAME
HBA_GetWrapperLibraryAttributes,
HBA_GetVendorLibraryAttributes - return details about the
implementation of the wrapper library and the vendor specific librarySYNOPSIS
cc [ flag... ] file... -lHBAAPI [ library... ]
#include
HBA_UINT32 HBA_GetWrapperLibraryAttributes(
HBA_LIBRARYATTRIBUTES *attributes);
HBA_UINT32 HBA_GetVendorLibraryAttributes(HBA_UINT32 adapter_index,
HBA_LIBRARYATTRIBUTES *attributes);
PARAMETERS
attributesHBA_GetWrapperLibraryAttributes()
a pointer to a HBA_LIBRARYATTRIBUTES
structure where the wrapper library information is returnedHBA_GetVendorLibraryAttributes()
a pointer to a HBA_LIBRARYATTRIBUTES
structure where the vendor-specific
library information is returnedadapter_index index of the HBA. The value ust be withing
the range of 1 and the value returned byHBA_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
SunOS 5.11 Last change: 1 Sep 2003 1
Common Fibre Channel HBA Information Library FunctionsHBA_GetWrapperLibraryAttributes(3HBAAPI)
The HBA_GetWrapperLibraryAttributes() and
HBA_GetVendorLibraryAttributes() functions return the ver-
sion of the HBA API specification.ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| 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), attri-
butes(5)T11 FC-MI Specification
SunOS 5.11 Last change: 1 Sep 2003 2
Common Fibre Channel HBA Information Library FunctionsHBA_GetWrapperLibraryAttributes(3HBAAPI)
SunOS 5.11 Last change: 1 Sep 2003 3