Lines Matching defs:find

62 setup_addresses(ns_lwdclient_t *client, dns_adbfind_t *find, unsigned int at) {
74 ai = ISC_LIST_HEAD(find->list);
168 * We must make certain the client->find is not still active.
172 if (client->find == client->v4find || client->find == client->v6find)
173 client->find = NULL;
175 if (client->find != NULL)
176 dns_adb_destroyfind(&client->find);
337 ns_lwdclient_log(50, "find done for task %p, client %p", task, client);
349 client->v4find = client->find;
353 client->v6find = client->find;
356 if (client->find != NULL) {
358 client->find = NULL;
360 dns_adb_destroyfind(&client->find);
368 * We probably don't need this find anymore. We're either going to
372 if ((client->find != client->v4find)
373 && (client->find != client->v6find)) {
374 dns_adb_destroyfind(&client->find);
376 client->find = NULL;
401 ns_lwdclient_log(50, "starting find for client %p", client);
404 * Issue a find for the name contained in the request. We won't
414 * and that we do not currently have a find pending. We will
423 INSIST(client->find == NULL);
431 &client->find);
438 dns_adb_destroyfind(&client->find);
450 ns_lwdclient_log(50, "find returned %d (%s)", result,
457 if (client->find != NULL)
458 dns_adb_destroyfind(&client->find);
470 && ((client->find->query_pending & DNS_ADBFIND_INET) == 0)) {
471 ns_lwdclient_log(50, "client %p ipv4 satisfied by find %p",
472 client, client->find);
474 client->v4find = client->find;
481 && ((client->find->query_pending & DNS_ADBFIND_INET6) == 0)) {
482 ns_lwdclient_log(50, "client %p ipv6 satisfied by find %p",
483 client, client->find);
485 client->v6find = client->find;
497 if ((client->find->options & DNS_ADBFIND_WANTEVENT) != 0) {
504 client->find = NULL;
506 dns_adb_destroyfind(&client->find);
632 * Start the find.