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);
a pointer to a HBA_LIBRARYATTRIBUTES structure where the wrapper library information is returned
a pointer to a HBA_LIBRARYATTRIBUTES structure where the vendor-specific library information is returned
index of the HBA. The value ust be withing the range of 1 and the value returned by HBA_GetNumberOfAdapters(3HBAAPI).
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.
The HBA_GetWrapperLibraryAttributes() and HBA_GetVendorLibraryAttributes() functions return the version of the HBA API specification.
See attributes(5) for descriptions of the following attributes:
|
HBA_GetNumberOfAdapters(3HBAAPI), libhbaapi (3LIB), attributes(5)