Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
OSS Library Calls (g - h) HBA_GetVersion(3)
NAME
HBA_GetVersion - Returns the version of the FC SNIA API
LIBRARY
H-series OSS processes: /usr/lib/libcmnapi.a
SYNOPSIS
#include <snia_common.h>
HBA_STATUS HBA_GetVersion (
void
);
PARAMETERS
None.
DESCRIPTION
This function returns the version Fibre Channel Host Bus Adapter Application Programming
Interface specifications (FC HBA API specifications) to which this library conforms.
Calling Order
This function can be called at any time. No calling order is enforced for this function.
EXAMPLES
HBA_UINT32 version;
version = HBA_GetVersion();
printf("Running version %u of the HBA API library.", version);
RETURN VALUES
The HBA_GetVersion( ) function returns the value 1 (one), indicating that this implementation
conforms to Version 1.0 of the Fibre Channel Host Bus Adapter Application Programming Inter-
face specifications from the Storage Networking Industry Association (SNIA). No other return
value is valid.
ERRORS
None.
RELATED INFORMATION
Functions: HBA_CloseAdapter(3), HBA_FreeLibrary(3), HBA_GetAdapterAttributes(3),
HBA_GetAdapterPortAttributes(3), HBA_GetAdapterName(3),
HBA_GetDiscoveredPortAttributes(3), HBA_GetFcpTargetMapping(3),
HBA_GetNumberOfAdapters(3), HBA_GetPortStatistics(3), HBA_LoadLibrary(3),
HBA_OpenAdapter(3), HBA_RefreshInformation(3).
Files: HBAAPI(5).
527187-017 Hewlett-Packard Company 3−185