Home
last modified time | relevance | path

Searched refs:dlhandle (Results 1 – 6 of 6) sorted by relevance

/freebsd-12-stable/contrib/apr-util/misc/
Dapu_dso.c116 apr_dso_handle_t *dlhandle = NULL; local
165 rv = apr_dso_load(&dlhandle, path, global);
167 *dlhandleptr = dlhandle;
184 rv = apr_dso_load(&dlhandle, path, global);
186 *dlhandleptr = dlhandle;
197 rv = apr_dso_sym(dsoptr, dlhandle, modsym);
199 apr_dso_unload(dlhandle);
/freebsd-12-stable/usr.sbin/keyserv/
Dcrypt_server.c167 static void *dlhandle; variable
189 if ((dlhandle = dlopen(dlpath, 0444)) != NULL)
190 _my_crypt = (int (*)())dlsym(dlhandle, "_des_crypt");
193 if (dlhandle != NULL)
194 dlclose(dlhandle);
/freebsd-12-stable/contrib/wpa/src/eap_peer/
Dtncc.c60 void *dlhandle; /* from dlopen() */ member
277 void *handle = imc->dlhandle; in tncc_imc_resolve_funcs()
408 imc->dlhandle = LoadLibrary(lib); in tncc_load_imc()
412 imc->dlhandle = LoadLibrary(imc->path); in tncc_load_imc()
414 if (imc->dlhandle == NULL) { in tncc_load_imc()
420 imc->dlhandle = dlopen(imc->path, RTLD_LAZY); in tncc_load_imc()
421 if (imc->dlhandle == NULL) { in tncc_load_imc()
448 if (imc->dlhandle) { in tncc_unload_imc()
450 FreeLibrary(imc->dlhandle); in tncc_unload_imc()
452 dlclose(imc->dlhandle); in tncc_unload_imc()
/freebsd-12-stable/crypto/openssh/
Dssh-sk.c59 void *dlhandle; member
101 if (p->dlhandle != NULL) in sshsk_free()
102 dlclose(p->dlhandle); in sshsk_free()
136 if ((ret->dlhandle = dlopen(path, RTLD_NOW)) == NULL) { in sshsk_open()
140 if ((ret->sk_api_version = dlsym(ret->dlhandle, in sshsk_open()
155 if ((ret->sk_enroll = dlsym(ret->dlhandle, "sk_enroll")) == NULL) { in sshsk_open()
160 if ((ret->sk_sign = dlsym(ret->dlhandle, "sk_sign")) == NULL) { in sshsk_open()
165 if ((ret->sk_load_resident_keys = dlsym(ret->dlhandle, in sshsk_open()
/freebsd-12-stable/contrib/wpa/src/eap_server/
Dtncs.c41 void *dlhandle; /* from dlopen() */ member
335 void *handle = imv->dlhandle; in tncs_imv_resolve_funcs()
447 imv->dlhandle = dlopen(imv->path, RTLD_LAZY); in tncs_load_imv()
448 if (imv->dlhandle == NULL) { in tncs_load_imv()
480 if (imv->dlhandle) in tncs_unload_imv()
481 dlclose(imv->dlhandle); in tncs_unload_imv()
/freebsd-12-stable/contrib/gdb/gdb/
Dsol-thread.c1656 void *dlhandle; in _initialize_sol_thread() local
1661 dlhandle = dlopen ("libthread_db.so.1", RTLD_NOW); in _initialize_sol_thread()
1662 if (!dlhandle) in _initialize_sol_thread()
1666 if (!(p_##X = dlsym (dlhandle, #X))) \ in _initialize_sol_thread()
1713 if (dlhandle) in _initialize_sol_thread()
1714 dlclose (dlhandle); in _initialize_sol_thread()