Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
stdout(5) OSS Library Calls Reference Manual
NAME
HBAAPI - Fibre Channel Storage Network Industry Association Host Bus Adapter API
DESCRIPTION
The Common Host Bus Adapter Application Programming Interface (HBA API) provides a con-
sistent HBA standard interface for accessing information in a Fibre Channel (FC) Storage Area
Network (SAN) that is implemented across vendors as a standard ’C’ API supported by vendor-
specific library instances.
This API library is thread-safe. However, note that threads must not be cancelled when the exe-
cution is in the API.
The following functions are available in the API for managing a Fibre Channel HBA:
• General Vendor-Implemented Functions
— HBA_GetVersion( );
— HBA_LoadLibrary( );
— HBA_FreeLibrary( );
— HBA_GetNumberOfAdapters( );
— HBA_GetAdapterName( );
— HBA_OpenAdapter( );
— HBA_CloseAdapter( );
• Informational Functions
— HBAGetAdapterAttributes( );
— HBAGetAdapterPortAttributes( );
— HBAGetPortStatistics( );
— HBAGetDiscoveredPortAttributes();
• FCP Information Functions
— HBAGetFcpTargetMapping( );
• Control Functions
— HBARefreshInformation( );
This API is exposed to upper level applications to control storage area network (SAN) functions.
For detailed information about structures used, see the Fibre Channel - Methodologies for Inter-
connects (FC-MI) Revision 1.6 Annexure A by the Storage Network Industry Association
(SNIA).
NOTES
The functions in this API are available in a statically-linked archive library at
usr/lib/libcmnapi.a. For more infomation about using archives, see the eld Manual.
9−2 Hewlett-Packard Company 527187-017