Lines Matching refs:library

4  *	HBAAPILIB.c - Implements a sample common (wrapper) HBA API library
34 * both HBAAPI and SM-HBA through the same library.
89 * LIBRARY_NUM is a shortcut to figure out which library we need to call.
90 * The top 16 bits of handle are the library index
95 * VENDOR_HANDLE turns a global library handle into a vendor specific handle,
100 #define HBA_HANDLE_FROM_LOCAL(library, vendor) \
101 (((library)<<16) | ((vendor)&0x0000FFFF))
194 * a vendor specific library function that might invoke a callback function
211 * Vendor library information
242 HBA_LIBRARY_STATUS status; /* info on this library */
298 HBA_LIBRARY_INFO *library;
400 * Common library internal. Mutex handling
425 * Common library internal. Check library and return vendorhandle
718 /* Now open the subkey that pertains to this vendor's library */
731 * The name of the library is contained in a REG_SZ Value
755 /* Now I can try to load the library */
758 /* printf("unable to load library %s\n", librarypath); */
771 /* library not loaded */
772 /* ???Opportunity to send error msg, library error? */
789 /* library not loaded */
790 /* ???Opportunity to send error msg, library error? */
796 /* Maybe the vendor library is only Rev1 */
800 /* ???Opportunity to send error msg, library error? */
810 /* library not loaded */
811 /* ???Opportunity to send error msg, library error? */
819 /* successfully loaded library */
827 /* Check the version of this library before loading */
835 /* Check the version of this library before loading */
845 /* ???Opportunity to send error msg, library error? */
853 /* ???Opportunity to send error msg, library error? */
856 /* Initialize this library */
859 /* ???Opportunity to send error msg, library error? */
862 /* successfully loaded library */
896 /* Read in each line and load library */
927 /* Continue to the next line if library name or path is invalid */
963 /* printf("unable to load library %s\n", librarypath); */
977 /* library not loaded */
993 /* library not loaded */
999 /* Maybe the vendor library is only Rev1 */
1019 /* library not loaded */
1035 /* successfully loaded library */
1054 /* Check the version of this library before loading */
1075 /* Initialize this library */
1085 /* successfully loaded library */
1183 /* Free this library */
1386 adapt_infop->library = lib_infop;
1465 lib_infop = adapt_infop->library;
1472 /* or this with the library index to get the common handle */
1794 * At least one vendor library registered this function, but no
3423 if (adapt_infop->library->version == SMHBA) {
3429 registeredfunc = adapt_infop->library->
3436 GetVersionFunc = adapt_infop->library->
3448 if (strlen(adapt_infop->library->LibraryPath) < 256) {
3450 adapt_infop->library->LibraryPath);
3462 * This function returns SM-HBA version that the warpper library implemented.
3471 * This function returns the attributes for the warpper library.
3533 * This function returns the attributes for the warpper library.
3569 if (adapt_infop->library->version != SMHBA) {
3575 registeredfunc = adapt_infop->library->
3585 if (strlen(adapt_infop->library->LibraryPath) < 256) {
3587 adapt_infop->library->LibraryPath);
4482 * At least one vendor library registered this function, but no