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