0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * Copyright (C) 2015, 2016 Internet Systems Consortium, Inc. ("ISC")
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * This Source Code Form is subject to the terms of the Mozilla Public
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * License, v. 2.0. If a copy of the MPL was not distributed with this
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * file, You can obtain one at http://mozilla.org/MPL/2.0/.
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews return (generic_fromtext_tlsa(rdclass, type, lexer, origin, options,
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews return (generic_totext_tlsa(rdata, tctx, target));
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews return (generic_fromwire_tlsa(rdclass, type, source, dctx, options,
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews return (mem_tobuffer(target, sr.base, sr.length));
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrewsstatic inline int
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews return (generic_fromstruct_tlsa(rdclass, type, source, target));
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews return (generic_tostruct_tlsa(rdata, target, mctx));
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrewsstatic inline void
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews REQUIRE(txt->common.rdtype == dns_rdatatype_smimea);
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrewsstatic inline int
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews#endif /* RDATA_GENERIC_SMIMEA_53_C */