Lines Matching refs:library
152 return "Generic shared library error";
167 void *library;
178 int _sasl_locate_entry(void *library, const char *entryname,
198 if(!library) {
201 "no library in _sasl_locate_entry");
219 *entry_point = dlsym(library, adj_entryname);
239 char *plugin, void *library,
244 static int _sasl_plugin_load(char *plugin, void *library,
252 result = _sasl_locate_entry(library, entryname, &entry_point);
380 /* loads a plugin library */
395 void *library;
411 if (!(library = dlopen(file, flag))) {
429 dlclose(library);
434 newhead->library = library;
444 *libraryptr = library;
454 static void release_plugin(_sasl_global_context_t *gctx, void *library)
465 if (library == libptr->library) {
466 if(libptr->library)
468 dlclose(libptr->library);
470 FreeLibrary(libptr->library);
653 void *library;
707 &library);
709 result = _sasl_get_plugin(tmp, verifyfile_cb, &library);
719 if (_sasl_plugin_load(gctx, plugname, library,
726 release_plugin(gctx, library);
729 _sasl_plugin_load(plugname, library, cur_ep->entryname,
772 if(libptr->library)
774 dlclose(libptr->library);
776 FreeLibrary(libptr->library);