/*++ /* NAME /* dns_sa_to_rr 3 /* SUMMARY /* socket address to resource record /* SYNOPSIS /* #include <dns.h> /* /* DNS_RR *dns_sa_to_rr(hostname, pref, sa) /* const char *hostname; /* unsigned pref; /* struct sockaddr *sa; /* DESCRIPTION /* dns_sa_to_rr() converts a socket address into a DNS resource record. /* /* Arguments: /* .IP hostname /* The resource record host name. This will be both the qname /* and the rname in the synthetic DNS resource record. /* .IP pref /* The resource record MX host preference, if applicable. /* .IP sa /* Binary address. /* DIAGNOSTICS /* The result is a null pointer in case of problems, with the /* errno variable set to indicate the problem type. /* LICENSE /* .ad /* .fi /* The Secure Mailer license must be distributed with this software. /* AUTHOR(S) /* Wietse Venema /* IBM T.J. Watson Research /* P.O. Box 704 /* Yorktown Heights, NY 10598, USA
/*--*/
/* System libraries. */
#include <sys_defs.h> #include <errno.h>
/* Utility library. */
#include <msg.h>
/* DNS library. */
#include <dns.h>
/* dns_sa_to_rr - socket address to resource record */
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.