1 /* $NetBSD: ninfo_56.h,v 1.2 2018/08/12 13:02:36 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 /* */ 15 #ifndef GENERIC_NINFO_56_H 16 #define GENERIC_NINFO_56_H 1 17 18 typedef struct dns_rdata_txt_string dns_rdata_ninfo_string_t; 19 20 typedef struct dns_rdata_txt dns_rdata_ninfo_t; 21 22 /* 23 * ISC_LANG_BEGINDECLS and ISC_LANG_ENDDECLS are already done 24 * via rdatastructpre.h and rdatastructsuf.h. 25 */ 26 27 isc_result_t 28 dns_rdata_ninfo_first(dns_rdata_ninfo_t *); 29 30 isc_result_t 31 dns_rdata_ninfo_next(dns_rdata_ninfo_t *); 32 33 isc_result_t 34 dns_rdata_ninfo_current(dns_rdata_ninfo_t *, dns_rdata_ninfo_string_t *); 35 36 #endif /* GENERIC_NINFO_16_H */ 37