1999-01-18 21:20:26 -05:00
|
|
|
/*
|
2001-01-09 17:01:04 -05:00
|
|
|
* Copyright (C) 1998-2001 Internet Software Consortium.
|
2000-07-31 21:33:37 -04:00
|
|
|
*
|
1999-01-18 21:20:26 -05: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-07-31 21:33:37 -04:00
|
|
|
*
|
2000-07-27 05:55:03 -04:00
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
|
|
|
|
|
* DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
|
|
|
|
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
|
|
|
|
|
* INTERNET SOFTWARE CONSORTIUM 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-18 21:20:26 -05:00
|
|
|
*/
|
|
|
|
|
|
2000-04-28 22:02:38 -04:00
|
|
|
#ifndef GENERIC_SOA_6_H
|
|
|
|
|
#define GENERIC_SOA_6_H 1
|
|
|
|
|
|
2001-07-29 21:09:14 -04:00
|
|
|
/* $Id: soa_6.h,v 1.27 2001/07/30 01:09:12 marka Exp $ */
|
1999-01-18 21:20:26 -05:00
|
|
|
|
1999-05-04 21:55:13 -04:00
|
|
|
typedef struct dns_rdata_soa {
|
1999-05-06 23:24:15 -04:00
|
|
|
dns_rdatacommon_t common;
|
1999-09-02 02:40:15 -04:00
|
|
|
isc_mem_t *mctx;
|
|
|
|
|
dns_name_t origin;
|
2001-07-29 21:09:14 -04:00
|
|
|
dns_name_t contact;
|
1999-05-06 23:24:15 -04: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-04 21:55:13 -04:00
|
|
|
} dns_rdata_soa_t;
|
1999-01-18 21:20:26 -05:00
|
|
|
|
2000-04-28 22:02:38 -04:00
|
|
|
|
|
|
|
|
#endif /* GENERIC_SOA_6_H */
|