7263f72499e962b3fd54cdb7c79d49ca72121edeZbigniew Jędrzejewski-Szmek This file is part of systemd.
7263f72499e962b3fd54cdb7c79d49ca72121edeZbigniew Jędrzejewski-Szmek Copyright 2014 Zbigniew Jędrzejewski-Szmek
7263f72499e962b3fd54cdb7c79d49ca72121edeZbigniew Jędrzejewski-Szmek systemd is free software; you can redistribute it and/or modify it
7263f72499e962b3fd54cdb7c79d49ca72121edeZbigniew Jędrzejewski-Szmek under the terms of the GNU Lesser General Public License as published by
7263f72499e962b3fd54cdb7c79d49ca72121edeZbigniew Jędrzejewski-Szmek the Free Software Foundation; either version 2.1 of the License, or
7263f72499e962b3fd54cdb7c79d49ca72121edeZbigniew Jędrzejewski-Szmek (at your option) any later version.
7263f72499e962b3fd54cdb7c79d49ca72121edeZbigniew Jędrzejewski-Szmek systemd is distributed in the hope that it will be useful, but
7263f72499e962b3fd54cdb7c79d49ca72121edeZbigniew Jędrzejewski-Szmek WITHOUT ANY WARRANTY; without even the implied warranty of
7263f72499e962b3fd54cdb7c79d49ca72121edeZbigniew Jędrzejewski-Szmek MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
7263f72499e962b3fd54cdb7c79d49ca72121edeZbigniew Jędrzejewski-Szmek Lesser General Public License for more details.
7263f72499e962b3fd54cdb7c79d49ca72121edeZbigniew Jędrzejewski-Szmek You should have received a copy of the GNU Lesser General Public License
7263f72499e962b3fd54cdb7c79d49ca72121edeZbigniew Jędrzejewski-Szmek along with systemd; If not, see <http://www.gnu.org/licenses/>.
7263f72499e962b3fd54cdb7c79d49ca72121edeZbigniew Jędrzejewski-Szmek/* DNS record types, taken from
7263f72499e962b3fd54cdb7c79d49ca72121edeZbigniew Jędrzejewski-Szmek * http://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml.
7263f72499e962b3fd54cdb7c79d49ca72121edeZbigniew Jędrzejewski-Szmek /* Normal records */
7263f72499e962b3fd54cdb7c79d49ca72121edeZbigniew Jędrzejewski-Szmek DNS_TYPE_OPT, /* EDNS0 option */
4b548ef382007e40bd8fb3affdce9f843d0d63acLennart Poettering/* DNS record classes, see RFC 1035 */
222148b66d1abf5b05c9d803472a9368331dae53Lennart Poetteringbool dns_type_is_valid_query(uint16_t type);
d3c7e9139c50bec5096925a09b9c1341942c72c4Lennart Poetteringbool dns_type_may_redirect(uint16_t type);
e8233bce196a14fa3ebde2969594fcdfa4404e19Lennart Poetteringbool dns_type_may_wildcard(uint16_t type);
4b548ef382007e40bd8fb3affdce9f843d0d63acLennart Poetteringbool dns_class_is_valid_rr(uint16_t class);
869b3b67e392f1ea6219570ccf6aa3bf224d0391Zbigniew Jędrzejewski-Szmek/* TYPE?? follows http://tools.ietf.org/html/rfc3597#section-5 */
222148b66d1abf5b05c9d803472a9368331dae53Lennart Poetteringint dns_type_from_string(const char *s);
4b548ef382007e40bd8fb3affdce9f843d0d63acLennart Poetteringconst char *dns_class_to_string(uint16_t type);
4b548ef382007e40bd8fb3affdce9f843d0d63acLennart Poetteringint dns_class_from_string(const char *name);
cfb90da3dc579e2f9408bc0e04a71c82dd28ac71Zbigniew Jędrzejewski-Szmek/* https://tools.ietf.org/html/draft-ietf-dane-protocol-23#section-7.2 */
cfb90da3dc579e2f9408bc0e04a71c82dd28ac71Zbigniew Jędrzejewski-Szmekconst char *tlsa_cert_usage_to_string(uint8_t cert_usage);
cfb90da3dc579e2f9408bc0e04a71c82dd28ac71Zbigniew Jędrzejewski-Szmek/* https://tools.ietf.org/html/draft-ietf-dane-protocol-23#section-7.3 */
cfb90da3dc579e2f9408bc0e04a71c82dd28ac71Zbigniew Jędrzejewski-Szmekconst char *tlsa_selector_to_string(uint8_t selector);
cfb90da3dc579e2f9408bc0e04a71c82dd28ac71Zbigniew Jędrzejewski-Szmek/* https://tools.ietf.org/html/draft-ietf-dane-protocol-23#section-7.4 */