'\" te .\" Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved. .TH HBA_GetWrapperLibraryAttributes 3HBAAPI "1 Sep 2003" "SunOS 5.11" "Common Fibre Channel HBA Information Library Functions" .SH NAME HBA_GetWrapperLibraryAttributes, HBA_GetVendorLibraryAttributes \- return details about the implementation of the wrapper library and the vendor specific library .SH SYNOPSIS .LP .nf cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-lHBAAPI\fR [ \fIlibrary\fR\&.\|.\|. ] #include \fBHBA_UINT32\fR \fBHBA_GetWrapperLibraryAttributes\fR( \fBHBA_LIBRARYATTRIBUTES *\fR\fIattributes\fR); .fi .LP .nf \fBHBA_UINT32\fR \fBHBA_GetVendorLibraryAttributes\fR(\fBHBA_UINT32\fR \fIadapter_index\fR, \fBHBA_LIBRARYATTRIBUTES *\fR\fIattributes\fR); .fi .SH PARAMETERS .sp .ne 2 .mk .na \fB\fIattributes\fR\fR .ad .RS 17n .rt .sp .ne 2 .mk .na \fB\fBHBA_GetWrapperLibraryAttributes()\fR\fR .ad .sp .6 .RS 4n a pointer to a \fBHBA_LIBRARYATTRIBUTES\fR structure where the wrapper library information is returned .RE .sp .ne 2 .mk .na \fB\fBHBA_GetVendorLibraryAttributes()\fR\fR .ad .sp .6 .RS 4n a pointer to a \fBHBA_LIBRARYATTRIBUTES\fR structure where the vendor-specific library information is returned .RE .RE .sp .ne 2 .mk .na \fB\fIadapter_index\fR\fR .ad .RS 17n .rt index of the HBA. The value ust be withing the range of 1 and the value returned by \fBHBA_GetNumberOfAdapters\fR(3HBAAPI). .RE .SH DESCRIPTION .sp .LP The \fBHBA_GetWrapperLibraryAttributes()\fR function returns details about the wrapper library. .sp .LP The \fBHBA_GetVendorLibraryAttributes()\fR function returns details about the vendor specific library. The vendor-specific library selected is based on the \fIadapter_index\fR. .SH RETURN VALUES .sp .LP The \fBHBA_GetWrapperLibraryAttributes()\fR and \fBHBA_GetVendorLibraryAttributes()\fR functions return the version of the HBA API specification. .SH ATTRIBUTES .sp .LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp .sp .TS tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPEATTRIBUTE VALUE _ Interface StabilityCommitted _ T{ Standard: FC-HBA Version 4 (API version 2) T} _ MT-LevelSafe _ StandardFC-MI 1.92 (API version 1) .TE .SH SEE ALSO .sp .LP \fBHBA_GetNumberOfAdapters\fR(3HBAAPI), \fBlibhbaapi\fR(3LIB), \fBattributes\fR(5) .sp .LP T11 FC-MI Specification