1999-01-19 02:20:26 +00:00
|
|
|
/*
|
2004-03-05 05:14:21 +00:00
|
|
|
* Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
|
2001-01-09 22:01:04 +00:00
|
|
|
* Copyright (C) 1998-2001 Internet Software Consortium.
|
2000-08-01 01:33:37 +00:00
|
|
|
*
|
1999-01-19 02:20:26 +00:00
|
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
|
|
* copyright notice and this permission notice appear in all copies.
|
2000-08-01 01:33:37 +00:00
|
|
|
*
|
2004-03-05 05:14:21 +00:00
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
1999-01-19 02:20:26 +00:00
|
|
|
*/
|
|
|
|
|
2000-04-29 02:02:38 +00:00
|
|
|
#ifndef GENERIC_SOA_6_H
|
|
|
|
#define GENERIC_SOA_6_H 1
|
|
|
|
|
2004-03-05 05:14:21 +00:00
|
|
|
/* $Id: soa_6.h,v 1.28 2004/03/05 05:10:18 marka Exp $ */
|
1999-01-19 02:20:26 +00:00
|
|
|
|
1999-05-05 01:55:13 +00:00
|
|
|
typedef struct dns_rdata_soa {
|
1999-05-07 03:24:15 +00:00
|
|
|
dns_rdatacommon_t common;
|
1999-09-02 06:40:15 +00:00
|
|
|
isc_mem_t *mctx;
|
|
|
|
dns_name_t origin;
|
2001-07-30 01:09:14 +00:00
|
|
|
dns_name_t contact;
|
1999-05-07 03:24:15 +00:00
|
|
|
isc_uint32_t serial; /* host order */
|
|
|
|
isc_uint32_t refresh; /* host order */
|
|
|
|
isc_uint32_t retry; /* host order */
|
|
|
|
isc_uint32_t expire; /* host order */
|
|
|
|
isc_uint32_t minimum; /* host order */
|
1999-05-05 01:55:13 +00:00
|
|
|
} dns_rdata_soa_t;
|
1999-01-19 02:20:26 +00:00
|
|
|
|
2000-04-29 02:02:38 +00:00
|
|
|
|
|
|
|
#endif /* GENERIC_SOA_6_H */
|