Lines Matching refs:client
43 #include <dns/client.h>
97 set_key(dns_client_t *client, char *keynamestr, char *keystr,
167 result = dns_client_addtrustedkey(client, dns_rdataclass_in,
177 addserver(dns_client_t *client, const char *addrstr, const char *port,
223 result = dns_client_setservers(client, dns_rdataclass_in, name,
239 dns_client_t *client = NULL;
394 clientopt, &client, addr4, addr6);
413 result = dns_client_setservers(client, dns_rdataclass_in,
423 addserver(client, server, port, NULL);
428 addserver(client, altserveraddr, port, altservername);
438 set_key(client, keynamestr, keystr, is_sep, &keymctx);
456 result = dns_client_resolve(client, qname, dns_rdataclass_in, type,
472 dns_client_freeresanswer(client, &namelist);
476 dns_client_destroy(&client);