Lines Matching defs:library
825 * This allows external routines to load from the same library */
832 * add library to loaded list
838 int sh_addlib(Shell_t *shp,void* library)
853 else if (liblist[n] == library)
858 else if ((initfn = (Iptr_t)dlllook(library, "lib_init")))
875 liblist[nlib++] = library;
880 int sh_addlib(Shell_t *shp,void* library)
899 void *library=0;
956 if(!(library = dllplugin(SH_ID, arg, NiL, SH_PLUGIN_VERSION, &ver, RTLD_LAZY, path, sizeof(path))))
965 if(!(library = dllplug(SH_ID,arg,NIL(char*),RTLD_LAZY,NIL(char*),0)))
967 if(!(library = dllfind(arg,NIL(char*),RTLD_LAZY,NIL(char*),0)))
974 sh_addlib(tdata.sh,library);