1 /* $NetBSD: sink_40.h,v 1.5 2021/02/19 16:42:17 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 https://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_SINK_40_H 15 #define GENERIC_SINK_40_H 1 16 17 typedef struct dns_rdata_sink_t { 18 dns_rdatacommon_t common; 19 isc_mem_t *mctx; 20 uint8_t meaning; 21 uint8_t coding; 22 uint8_t subcoding; 23 uint16_t datalen; 24 unsigned char *data; 25 } dns_rdata_sink_t; 26 27 #endif /* GENERIC_SINK_40_H */ 28