Lines Matching defs:lwrctx
197 lwres_context_t *lwrctx = NULL;
261 n = lwres_context_create(&lwrctx, NULL, NULL, NULL, 0);
266 (void) lwres_conf_parse(lwrctx, lwres_resolv_conf);
269 n = lwres_getaddrsbyname(lwrctx, name, LWRES_ADDRTYPE_V6, &by);
272 lwres_gabnresponse_free(lwrctx, &by);
291 n = lwres_getaddrsbyname(lwrctx, name, LWRES_ADDRTYPE_V4, &by);
294 lwres_gabnresponse_free(lwrctx, &by);
316 if (lwrctx != NULL) {
317 lwres_conf_clear(lwrctx);
318 lwres_context_destroy(&lwrctx);
327 lwres_context_t *lwrctx = NULL;
382 n = lwres_context_create(&lwrctx, NULL, NULL, NULL, 0);
384 (void) lwres_conf_parse(lwrctx, lwres_resolv_conf);
386 n = lwres_getnamebyaddr(lwrctx, LWRES_ADDRTYPE_V4,
389 lwres_conf_clear(lwrctx);
390 lwres_context_destroy(&lwrctx);
398 lwres_gnbaresponse_free(lwrctx, &by);
399 lwres_conf_clear(lwrctx);
400 lwres_context_destroy(&lwrctx);
426 n = lwres_context_create(&lwrctx, NULL, NULL, NULL, 0);
428 (void) lwres_conf_parse(lwrctx, lwres_resolv_conf);
430 n = lwres_getnamebyaddr(lwrctx, LWRES_ADDRTYPE_V6, IN6ADDRSZ,
433 lwres_conf_clear(lwrctx);
434 lwres_context_destroy(&lwrctx);
445 lwres_gnbaresponse_free(lwrctx, &by);
448 lwres_conf_clear(lwrctx);
449 lwres_context_destroy(&lwrctx);