diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-07-31 20:06:30 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-07-31 08:56:03 -0400 |
commit | b93312f5960b276bae915906ccde36f545bae3e0 (patch) | |
tree | e56702ee2f0e188d2c37bccc21579c4b8ce0beef /src/resolve | |
parent | 73f860db9893deab6aebceb53dd7d0deb662e832 (diff) |
resolve-host: list types and classes
Also update systemctl to similar style.
Diffstat (limited to 'src/resolve')
-rw-r--r-- | src/resolve/resolved-dns-rr.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resolve/resolved-dns-rr.h b/src/resolve/resolved-dns-rr.h index 524630071d..7b73cdc6ca 100644 --- a/src/resolve/resolved-dns-rr.h +++ b/src/resolve/resolved-dns-rr.h @@ -35,6 +35,8 @@ typedef struct DnsResourceRecord DnsResourceRecord; enum { DNS_CLASS_IN = 0x01, DNS_CLASS_ANY = 0xFF, + _DNS_CLASS_MAX, + _DNS_CLASS_INVALID = -1 }; /* DNS record types, see RFC 1035 */ @@ -60,6 +62,8 @@ enum { DNS_TYPE_TSIG = 0xFA, DNS_TYPE_IXFR = 0xFB, DNS_TYPE_AXFR = 0xFC, + _DNS_TYPE_MAX, + _DNS_TYPE_INVALID = -1 }; struct DnsResourceKey { |