diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-02-01 23:12:27 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-01-29 12:13:08 -0500 |
commit | 869b3b67e392f1ea6219570ccf6aa3bf224d0391 (patch) | |
tree | 19a59b9c5b28aab503385e2c303223fb72030309 /src/resolve/dns-type.h | |
parent | f3367a64ca5b756f96cb9698df283569c9e944b6 (diff) |
resolve-host: allow specifying type as TYPEnn
This mirrors the behaviour of host and makes the conversion to and from
string symmetrical.
Diffstat (limited to 'src/resolve/dns-type.h')
-rw-r--r-- | src/resolve/dns-type.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resolve/dns-type.h b/src/resolve/dns-type.h index 1d9a59dfc1..d025544bab 100644 --- a/src/resolve/dns-type.h +++ b/src/resolve/dns-type.h @@ -139,6 +139,7 @@ int dns_type_to_af(uint16_t t); bool dns_class_is_pseudo(uint16_t class); bool dns_class_is_valid_rr(uint16_t class); +/* TYPE?? follows http://tools.ietf.org/html/rfc3597#section-5 */ const char *dns_type_to_string(int type); int dns_type_from_string(const char *s); |