aa0f0779d1ea7150991c3e6eec1cc532086c13fdMark Andrews/*
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * Copyright (C) 1998-2001, 2004, 2005, 2007, 2014, 2016 Internet Systems Consortium, Inc. ("ISC")
aa0f0779d1ea7150991c3e6eec1cc532086c13fdMark Andrews *
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/.
aa0f0779d1ea7150991c3e6eec1cc532086c13fdMark Andrews */
aa0f0779d1ea7150991c3e6eec1cc532086c13fdMark Andrews
aa0f0779d1ea7150991c3e6eec1cc532086c13fdMark Andrews#ifndef GENERIC_SPF_99_H
aa0f0779d1ea7150991c3e6eec1cc532086c13fdMark Andrews#define GENERIC_SPF_99_H 1
aa0f0779d1ea7150991c3e6eec1cc532086c13fdMark Andrews
70e5a7403f0e0a3bd292b8287c5fed5772c15270Automatic Updater/* $Id: spf_99.h,v 1.4 2007/06/19 23:47:17 tbox Exp $ */
aa0f0779d1ea7150991c3e6eec1cc532086c13fdMark Andrews
aa0f0779d1ea7150991c3e6eec1cc532086c13fdMark Andrewstypedef struct dns_rdata_spf_string {
055f6517b4328daaa06a27463cfc035cf04c35faTinderbox User isc_uint8_t length;
055f6517b4328daaa06a27463cfc035cf04c35faTinderbox User unsigned char *data;
aa0f0779d1ea7150991c3e6eec1cc532086c13fdMark Andrews} dns_rdata_spf_string_t;
aa0f0779d1ea7150991c3e6eec1cc532086c13fdMark Andrews
aa0f0779d1ea7150991c3e6eec1cc532086c13fdMark Andrewstypedef struct dns_rdata_spf {
055f6517b4328daaa06a27463cfc035cf04c35faTinderbox User dns_rdatacommon_t common;
055f6517b4328daaa06a27463cfc035cf04c35faTinderbox User isc_mem_t *mctx;
055f6517b4328daaa06a27463cfc035cf04c35faTinderbox User unsigned char *txt;
055f6517b4328daaa06a27463cfc035cf04c35faTinderbox User isc_uint16_t txt_len;
055f6517b4328daaa06a27463cfc035cf04c35faTinderbox User /* private */
055f6517b4328daaa06a27463cfc035cf04c35faTinderbox User isc_uint16_t offset;
aa0f0779d1ea7150991c3e6eec1cc532086c13fdMark Andrews} dns_rdata_spf_t;
aa0f0779d1ea7150991c3e6eec1cc532086c13fdMark Andrews
aa0f0779d1ea7150991c3e6eec1cc532086c13fdMark Andrews/*
aa0f0779d1ea7150991c3e6eec1cc532086c13fdMark Andrews * ISC_LANG_BEGINDECLS and ISC_LANG_ENDDECLS are already done
aa0f0779d1ea7150991c3e6eec1cc532086c13fdMark Andrews * via rdatastructpre.h and rdatastructsuf.h.
aa0f0779d1ea7150991c3e6eec1cc532086c13fdMark Andrews */
aa0f0779d1ea7150991c3e6eec1cc532086c13fdMark Andrews#endif /* GENERIC_SPF_99_H */