Lines Matching refs:handle
46 (*aprdso)->handle = osdso;
54 *osdso = aprdso->handle;
62 if (dso->handle == NULL)
66 shl_unload((shl_t)dso->handle);
68 if (dso->handle != DYLD_LIBRARY_HANDLE) {
69 NSUnLinkModule(dso->handle, FALSE);
72 if (dlclose(dso->handle) != 0)
75 dso->handle = NULL;
158 (*res_handle)->handle = (void*)os_handle;
167 APR_DECLARE(apr_status_t) apr_dso_unload(apr_dso_handle_t *handle)
169 return apr_pool_cleanup_run(handle->pool, handle, dso_cleanup);
173 apr_dso_handle_t *handle,
181 status = shl_findsym((void *)&handle->handle, symname, TYPE_PROCEDURE, &symaddr);
183 status = shl_findsym((void *)&handle->handle, symname, TYPE_DATA, &symaddr);
195 if (handle->handle == DYLD_LIBRARY_HANDLE) {
199 symbol = NSLookupSymbolInModule((NSModule)handle->handle, symname2);
206 handle->errormsg = "undefined symbol";
211 handle->errormsg = "cannot resolve symbol";
222 retval = dlsym(handle->handle, symbol);
225 void *retval = dlsym(handle->handle, (char *)symname);
227 void *retval = dlsym(handle->handle, symname);
231 handle->errormsg = dlerror();