52 const char myname[] =
"dns_strrecord";
64 msg_fatal(
"%s: conversion error for resource record type %s: %m",
85 uint8_t *ip = (uint8_t *) rr->
data;
86 uint8_t usage = *ip++;
87 uint8_t selector = *ip++;
88 uint8_t mtype = *ip++;
107 memcpy(soa_buf, rr->
data,
sizeof(soa_buf));
109 soa_buf[0], soa_buf[1], soa_buf[2],
110 soa_buf[3], soa_buf[4]);
113 msg_fatal(
"%s: don't know how to print type %s",
const char * dns_strtype(unsigned)
const char * dns_rr_to_pa(DNS_RR *, MAI_HOSTADDR_STR *)
char buf[MAI_HOSTADDR_STRSIZE]
VSTRING * vstring_sprintf_append(VSTRING *vp, const char *format,...)
VSTRING * vstring_sprintf(VSTRING *vp, const char *format,...)
NORETURN msg_fatal(const char *fmt,...)
char * dns_strrecord(VSTRING *buf, DNS_RR *rr)