Lines Matching defs:library

3  *	HBAAPILIB.c - Implements a sample common (wrapper) HBA API library
53 * LIBRARY_NUM is a shortcut to figure out which library we need to call.
54 * The top 16 bits of handle are the library index
59 * VENDOR_HANDLE turns a global library handle into a vendor specific handle,
64 #define HBA_HANDLE_FROM_LOCAL(library, vendor) \
65 (((library)<<16) | ((vendor)&0x0000FFFF))
158 * a vendor specific library function that might invoke a callback function
175 * Vendor library information
194 HBA_LIBRARY_STATUS status; /* info on this library */
219 HBA_LIBRARY_INFO *library;
298 * Common library internal. Mutex handling
321 * Common library internal. Check library and return vendorhandle
559 /* Now open the subkey that pertains to this vendor's library */
568 /* The name of the library is contained in a REG_SZ Value
591 /* Now I can try to load the library */
594 /* printf("unable to load library %s\n", librarypath); */
609 /* library not loaded */
610 /* ???Opportunity to send error msg, library error? */
614 /* Maybe the vendor library is only Rev1 */
618 /* ???Opportunity to send error msg, library error? */
626 /* library not loaded */
627 /* ???Opportunity to send error msg, library error? */
632 /* successfully loaded library */
635 /* ???Opportunity to send error msg, library error? */
638 /* Check the version of this library before loading */
650 /* ???Opportunity to send error msg, library error? */
653 /* Initialize this library */
656 /* ???Opportunity to send error msg, library error? */
659 /* successfully loaded library */
690 /* Read in each line and load library */
718 /* Continue to the next line if library name or path is invalid */
750 /*printf("unable to load library %s\n", librarypath); */
761 /* library not loaded */
765 /* Maybe the vendor library is only Rev1 */
782 /* library not loaded */
792 /* successfully loaded library */
798 /* Check the version of this library before loading */
818 /* Initialize this library */
828 /* successfully loaded library */
897 /* Free this library */
1078 adapt_infop->library = lib_infop;
1150 lib_infop = adapt_infop->library;
1157 /* or this with the library index to get the common handle */
1476 /* At least one vendor library registered this function, but no
3030 registeredfunc = adapt_infop->library->
3037 GetVersionFunc = adapt_infop->library->
3049 if(strlen(adapt_infop->library->LibraryPath) < 256) {
3051 adapt_infop->library->LibraryPath);