Fibre Channel SNIA HBA API Programmer's Guide
HBA_RefreshInformation
Function:
void HBA_RefreshInformation(
HBA_HANDLE handle
);
Purpose: Refreshes adapter information.
Input Parameters: handle - Handle to an adapter already opened by call to
HBA_OpenAdapter().
Output Parameters: None.
Return Values: None.
Call order sequence: See Appendix A.
Example code:
HBA_RefreshInformation(adapterhandle);
HBA_ResetStatistics
NOTE: This function was deprecated as of FC-MI Revision 1.6.
Function:
void HBA_ResetStatistics(
HBA_HANDLE handle,
HBA_UINT32 port_index
);
Purpose: Resets port statistics information.
Input Parameters: handle - Handle to an adapter already opened by call to
HBA_OpenAdapter().
port_index - Index to port for which statistics information is to be
reset.
Output Parameters: None.
Return Values: None.
Call order sequence: See Appendix A.
Compiling User Applications with HP's HBA API Common Library
Applications must include the header /usr/include/snia_common.h for HBA API
specification defined data structures.
NOTE: The +compat option must be used with ld when compiling 64-bit applications. Also,
when libc is linked with the application using ld, libc must be linked only at the end. For
example: ld +compat snia_demo.o -osnia_demo -lHBAAPI -lc #correct ld
+compat snia_demo.o -osnia_demo -lc -lHBAAPI #wrong
Compiling User Applications with HP's HBA API Common Library 35