Lines Matching defs:handle
49 uv_lib_t handle;
90 load_symbol(uv_lib_t *handle, const char *modpath, const char *symbol_name,
95 REQUIRE(handle != NULL);
98 r = uv_dlsym(handle, symbol_name, &symbol);
100 const char *errmsg = uv_dlerror(handle);
138 r = uv_dlopen(modpath, &plugin->handle);
140 const char *errmsg = uv_dlerror(&plugin->handle);
151 CHECK(load_symbol(&plugin->handle, modpath, "plugin_version",
165 CHECK(load_symbol(&plugin->handle, modpath, "plugin_check",
167 CHECK(load_symbol(&plugin->handle, modpath, "plugin_register",
169 CHECK(load_symbol(&plugin->handle, modpath, "plugin_destroy",
204 uv_dlclose(&plugin->handle);