1 /* $NetBSD: avc_258.h,v 1.4 2020/05/24 19:46:24 christos Exp $ */ 2 3 /* 4 * Copyright (C) Internet Systems Consortium, Inc. ("ISC") 5 * 6 * This Source Code Form is subject to the terms of the Mozilla Public 7 * License, v. 2.0. If a copy of the MPL was not distributed with this 8 * file, You can obtain one at http://mozilla.org/MPL/2.0/. 9 * 10 * See the COPYRIGHT file distributed with this work for additional 11 * information regarding copyright ownership. 12 */ 13 14 #ifndef GENERIC_AVC_258_H 15 #define GENERIC_AVC_258_H 1 16 17 typedef dns_rdata_txt_string_t dns_rdata_avc_string_t; 18 19 typedef struct dns_rdata_avc { 20 dns_rdatacommon_t common; 21 isc_mem_t *mctx; 22 unsigned char *data; 23 uint16_t length; 24 /* private */ 25 uint16_t offset; 26 } dns_rdata_avc_t; 27 28 /* 29 * ISC_LANG_BEGINDECLS and ISC_LANG_ENDDECLS are already done 30 * via rdatastructpre.h and rdatastructsuf.h. 31 */ 32 #endif /* GENERIC_AVC_258_H */ 33