Home | History | Annotate | Download | only in dns

Lines Matching defs:imp

65 	dyndb_implementation_t *imp;
67 for (imp = ISC_LIST_HEAD(dyndb_implementations); imp != NULL;
68 imp = ISC_LIST_NEXT(imp, link))
70 if (strcasecmp(name, imp->name) == 0) {
71 return imp;
112 dyndb_implementation_t *imp = NULL;
123 imp = isc_mem_get(mctx, sizeof(*imp));
124 *imp = (dyndb_implementation_t){
128 isc_mem_attach(mctx, &imp->mctx);
130 INIT_LINK(imp, link);
132 r = uv_dlopen(filename, &imp->handle);
134 const char *errmsg = uv_dlerror(&imp->handle);
146 CHECK(load_symbol(&imp->handle, filename, "dyndb_version",
160 CHECK(load_symbol(&imp->handle, filename, "dyndb_init",
161 (void **)&imp->register_func));
162 CHECK(load_symbol(&imp->handle, filename, "dyndb_destroy",
163 (void **)&imp->destroy_func));
165 *impp = imp;
176 unload_library(&imp);
183 dyndb_implementation_t *imp;
187 imp = *impp;
194 /* uv_dlclose(&imp->handle); */
195 isc_mem_free(imp->mctx, imp->name);
196 isc_mem_putanddetach(&imp->mctx, imp, sizeof(*imp));