Lines Matching defs:type
7 /* name service lookup type codes and printable forms
17 /* dns_strtype() maps a name service lookup type to printable string.
53 * Mapping from type code to printable string. Some names are possibly not
57 unsigned type;
190 /* dns_strtype - translate DNS query type to string */
192 const char *dns_strtype(unsigned type)
198 if (dns_type_map[i].type == type)
201 unknown = vstring_alloc(sizeof("Unknown type XXXXXX"));
202 vstring_sprintf(unknown, "Unknown type %u", type);
206 /* dns_type - translate string to DNS query type */
214 return (dns_type_map[i].type);