Rechercher une page de manuel
dns_ip4_qualify
Langue: en
Version: 271499 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
dns_ip4_qualify - QualificationSYNOPSIS
#include <dns.h>dns_ip4_qualify(&out, &fqdn, &udn);
stralloc out = {0};
stralloc fqdn = {0};
stralloc udn = {0};
DESCRIPTION
dns_ip4_qualify feeds the name udn through qualification(5) and looks up 4-byte IP addresses for the result. It puts the fully qualified domain name into fqdn, puts the concatenation of the IP addresses into out, and returns 0. If the domain does not exist in DNS, or has no IP addresses, out will be empty.If dns_ip4_qualify has trouble with the qualification(5), has trouble with DNS, or runs out of memory, it returns -1, setting errno appropriately. It may or may not change out and fqdn.
SEE ALSO
dns_domain(3), dns_ip4(3), dns_mx(3), dns_name4(3), dns_packet(3), dns_random(3), dns_transmit(3), dns_txt(3)http://cr.yp.to/djbdns/blurb/library.html
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre