home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / SLAX 6.0.8 / slax-6.0.8.iso / slax / base / 006-devel.lzm / usr / include / dns / rdatastruct.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-09-17  |  65.9 KB  |  1,895 lines

  1. /*
  2.  * Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
  3.  * Copyright (C) 1998-2003 Internet Software Consortium.
  4.  *
  5.  * Permission to use, copy, modify, and distribute this software for any
  6.  * purpose with or without fee is hereby granted, provided that the above
  7.  * copyright notice and this permission notice appear in all copies.
  8.  *
  9.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  10.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  11.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  12.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  13.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  14.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  15.  * PERFORMANCE OF THIS SOFTWARE.
  16.  */
  17.  
  18. /***************
  19.  ***************
  20.  ***************   THIS FILE IS AUTOMATICALLY GENERATED BY gen.c.
  21.  ***************   DO NOT EDIT!
  22.  ***************
  23.  ***************/
  24.  
  25. /*! \file */
  26.  
  27. /*
  28.  * Copyright (C) 2004  Internet Systems Consortium, Inc. ("ISC")
  29.  * Copyright (C) 1999-2001  Internet Software Consortium.
  30.  *
  31.  * Permission to use, copy, modify, and distribute this software for any
  32.  * purpose with or without fee is hereby granted, provided that the above
  33.  * copyright notice and this permission notice appear in all copies.
  34.  *
  35.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  36.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  37.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  38.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  39.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  40.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  41.  * PERFORMANCE OF THIS SOFTWARE.
  42.  */
  43.  
  44. /* $Id: rdatastructpre.h,v 1.14 2004/03/05 05:10:04 marka Exp $ */
  45.  
  46. #ifndef DNS_RDATASTRUCT_H
  47. #define DNS_RDATASTRUCT_H 1
  48.  
  49. #include <isc/lang.h>
  50. #include <isc/sockaddr.h>
  51.  
  52. #include <dns/name.h>
  53. #include <dns/types.h>
  54.  
  55. ISC_LANG_BEGINDECLS
  56.  
  57. typedef struct dns_rdatacommon {
  58.     dns_rdataclass_t            rdclass;
  59.     dns_rdatatype_t                rdtype;
  60.     ISC_LINK(struct dns_rdatacommon)    link;
  61. } dns_rdatacommon_t;
  62.  
  63. #define DNS_RDATACOMMON_INIT(_data, _rdtype, _rdclass) \
  64.     do { \
  65.         (_data)->common.rdtype = (_rdtype); \
  66.         (_data)->common.rdclass = (_rdclass); \
  67.         ISC_LINK_INIT(&(_data)->common, link); \
  68.     } while (0)
  69. /*
  70.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  71.  * Copyright (C) 1998-2001  Internet Software Consortium.
  72.  *
  73.  * Permission to use, copy, modify, and distribute this software for any
  74.  * purpose with or without fee is hereby granted, provided that the above
  75.  * copyright notice and this permission notice appear in all copies.
  76.  *
  77.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  78.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  79.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  80.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  81.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  82.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  83.  * PERFORMANCE OF THIS SOFTWARE.
  84.  */
  85.  
  86. /* */
  87. #ifndef IN_1_A_1_H
  88. #define IN_1_A_1_H 1
  89.  
  90. /* $Id: a_1.h,v 1.24.18.2 2005/04/29 00:16:41 marka Exp $ */
  91.  
  92. typedef struct dns_rdata_in_a {
  93.     dns_rdatacommon_t    common;
  94.     struct in_addr          in_addr;
  95. } dns_rdata_in_a_t;
  96.  
  97. #endif /* IN_1_A_1_H */
  98. /*
  99.  * Copyright (C) 2005  Internet Systems Consortium, Inc. ("ISC")
  100.  *
  101.  * Permission to use, copy, modify, and distribute this software for any
  102.  * purpose with or without fee is hereby granted, provided that the above
  103.  * copyright notice and this permission notice appear in all copies.
  104.  *
  105.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  106.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  107.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  108.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  109.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  110.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  111.  * PERFORMANCE OF THIS SOFTWARE.
  112.  */
  113.  
  114. /* $Id: a_1.h,v 1.2.2.2 2005/06/05 00:02:22 marka Exp $ */
  115.  
  116. /* by Bjorn.Victor@it.uu.se, 2005-05-07 */
  117. /* Based on generic/mx_15.h */
  118.  
  119. #ifndef CH_3_A_1_H
  120. #define CH_3_A_1_H 1
  121.  
  122. typedef isc_uint16_t ch_addr_t;
  123.  
  124. typedef struct dns_rdata_ch_a {
  125.     dns_rdatacommon_t    common;
  126.     isc_mem_t        *mctx;
  127.       dns_name_t        ch_addr_dom; /* ch-addr domain for back mapping */
  128.     ch_addr_t        ch_addr; /* chaos address (16 bit) network order */
  129. } dns_rdata_ch_a_t;
  130.  
  131. #endif /* CH_3_A_1_H */
  132. /*
  133.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  134.  * Copyright (C) 1999-2001  Internet Software Consortium.
  135.  *
  136.  * Permission to use, copy, modify, and distribute this software for any
  137.  * purpose with or without fee is hereby granted, provided that the above
  138.  * copyright notice and this permission notice appear in all copies.
  139.  *
  140.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  141.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  142.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  143.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  144.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  145.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  146.  * PERFORMANCE OF THIS SOFTWARE.
  147.  */
  148.  
  149. /* */
  150. #ifndef HS_4_A_1_H
  151. #define HS_4_A_1_H 1
  152.  
  153. /* $Id: a_1.h,v 1.8.18.2 2005/04/29 00:16:41 marka Exp $ */
  154.  
  155. typedef struct dns_rdata_hs_a {
  156.     dns_rdatacommon_t    common;
  157.     struct in_addr          in_addr;
  158. } dns_rdata_hs_a_t;
  159.  
  160. #endif /* HS_4_A_1_H */
  161. /*
  162.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  163.  * Copyright (C) 1998-2001  Internet Software Consortium.
  164.  *
  165.  * Permission to use, copy, modify, and distribute this software for any
  166.  * purpose with or without fee is hereby granted, provided that the above
  167.  * copyright notice and this permission notice appear in all copies.
  168.  *
  169.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  170.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  171.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  172.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  173.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  174.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  175.  * PERFORMANCE OF THIS SOFTWARE.
  176.  */
  177.  
  178. /* */
  179. #ifndef GENERIC_NS_2_H
  180. #define GENERIC_NS_2_H 1
  181.  
  182. /* $Id: ns_2.h,v 1.23.18.2 2005/04/29 00:16:37 marka Exp $ */
  183.  
  184. typedef struct dns_rdata_ns {
  185.     dns_rdatacommon_t    common;
  186.     isc_mem_t        *mctx;
  187.     dns_name_t        name;
  188. } dns_rdata_ns_t;
  189.  
  190.  
  191. #endif /* GENERIC_NS_2_H */
  192. /*
  193.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  194.  * Copyright (C) 1998-2001  Internet Software Consortium.
  195.  *
  196.  * Permission to use, copy, modify, and distribute this software for any
  197.  * purpose with or without fee is hereby granted, provided that the above
  198.  * copyright notice and this permission notice appear in all copies.
  199.  *
  200.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  201.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  202.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  203.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  204.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  205.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  206.  * PERFORMANCE OF THIS SOFTWARE.
  207.  */
  208.  
  209. /* */
  210. #ifndef GENERIC_MD_3_H
  211. #define GENERIC_MD_3_H 1
  212.  
  213. /* $Id: md_3.h,v 1.24.18.2 2005/04/29 00:16:35 marka Exp $ */
  214.  
  215. typedef struct dns_rdata_md {
  216.     dns_rdatacommon_t    common;
  217.     isc_mem_t        *mctx;
  218.     dns_name_t        md;
  219. } dns_rdata_md_t;
  220.  
  221.  
  222. #endif /* GENERIC_MD_3_H */
  223. /*
  224.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  225.  * Copyright (C) 1998-2001  Internet Software Consortium.
  226.  *
  227.  * Permission to use, copy, modify, and distribute this software for any
  228.  * purpose with or without fee is hereby granted, provided that the above
  229.  * copyright notice and this permission notice appear in all copies.
  230.  *
  231.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  232.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  233.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  234.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  235.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  236.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  237.  * PERFORMANCE OF THIS SOFTWARE.
  238.  */
  239.  
  240. /* */
  241. #ifndef GENERIC_MF_4_H
  242. #define GENERIC_MF_4_H 1
  243.  
  244. /* $Id: mf_4.h,v 1.22.18.2 2005/04/29 00:16:35 marka Exp $ */
  245.  
  246. typedef struct dns_rdata_mf {
  247.     dns_rdatacommon_t    common;
  248.     isc_mem_t        *mctx;
  249.     dns_name_t        mf;
  250. } dns_rdata_mf_t;
  251.  
  252. #endif /* GENERIC_MF_4_H */
  253. /*
  254.  * Copyright (C) 2004  Internet Systems Consortium, Inc. ("ISC")
  255.  * Copyright (C) 1998-2001  Internet Software Consortium.
  256.  *
  257.  * Permission to use, copy, modify, and distribute this software for any
  258.  * purpose with or without fee is hereby granted, provided that the above
  259.  * copyright notice and this permission notice appear in all copies.
  260.  *
  261.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  262.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  263.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  264.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  265.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  266.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  267.  * PERFORMANCE OF THIS SOFTWARE.
  268.  */
  269.  
  270. /* $Id: cname_5.h,v 1.24 2004/03/05 05:10:10 marka Exp $ */
  271.  
  272. #ifndef GENERIC_CNAME_5_H
  273. #define GENERIC_CNAME_5_H 1
  274.  
  275. typedef struct dns_rdata_cname {
  276.     dns_rdatacommon_t    common;
  277.     isc_mem_t        *mctx;
  278.     dns_name_t        cname;
  279. } dns_rdata_cname_t;
  280.  
  281. #endif /* GENERIC_CNAME_5_H */
  282. /*
  283.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  284.  * Copyright (C) 1998-2001  Internet Software Consortium.
  285.  *
  286.  * Permission to use, copy, modify, and distribute this software for any
  287.  * purpose with or without fee is hereby granted, provided that the above
  288.  * copyright notice and this permission notice appear in all copies.
  289.  *
  290.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  291.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  292.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  293.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  294.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  295.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  296.  * PERFORMANCE OF THIS SOFTWARE.
  297.  */
  298.  
  299. /* */
  300. #ifndef GENERIC_SOA_6_H
  301. #define GENERIC_SOA_6_H 1
  302.  
  303. /* $Id: soa_6.h,v 1.28.18.2 2005/04/29 00:16:40 marka Exp $ */
  304.  
  305. typedef struct dns_rdata_soa {
  306.     dns_rdatacommon_t    common;
  307.     isc_mem_t        *mctx;
  308.     dns_name_t        origin;
  309.     dns_name_t        contact;
  310.     isc_uint32_t        serial;        /*%< host order */
  311.     isc_uint32_t        refresh;    /*%< host order */
  312.     isc_uint32_t        retry;        /*%< host order */
  313.     isc_uint32_t        expire;        /*%< host order */
  314.     isc_uint32_t        minimum;    /*%< host order */
  315. } dns_rdata_soa_t;
  316.  
  317.  
  318. #endif /* GENERIC_SOA_6_H */
  319. /*
  320.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  321.  * Copyright (C) 1998-2001  Internet Software Consortium.
  322.  *
  323.  * Permission to use, copy, modify, and distribute this software for any
  324.  * purpose with or without fee is hereby granted, provided that the above
  325.  * copyright notice and this permission notice appear in all copies.
  326.  *
  327.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  328.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  329.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  330.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  331.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  332.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  333.  * PERFORMANCE OF THIS SOFTWARE.
  334.  */
  335.  
  336. /* */
  337. #ifndef GENERIC_MB_7_H
  338. #define GENERIC_MB_7_H 1
  339.  
  340. /* $Id: mb_7.h,v 1.23.18.2 2005/04/29 00:16:34 marka Exp $ */
  341.  
  342. typedef struct dns_rdata_mb {
  343.     dns_rdatacommon_t    common;
  344.     isc_mem_t        *mctx;
  345.     dns_name_t        mb;
  346. } dns_rdata_mb_t;
  347.  
  348. #endif /* GENERIC_MB_7_H */
  349. /*
  350.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  351.  * Copyright (C) 1998-2001  Internet Software Consortium.
  352.  *
  353.  * Permission to use, copy, modify, and distribute this software for any
  354.  * purpose with or without fee is hereby granted, provided that the above
  355.  * copyright notice and this permission notice appear in all copies.
  356.  *
  357.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  358.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  359.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  360.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  361.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  362.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  363.  * PERFORMANCE OF THIS SOFTWARE.
  364.  */
  365.  
  366. /* */
  367. #ifndef GENERIC_MG_8_H
  368. #define GENERIC_MG_8_H 1
  369.  
  370. /* $Id: mg_8.h,v 1.22.18.2 2005/04/29 00:16:35 marka Exp $ */
  371.  
  372. typedef struct dns_rdata_mg {
  373.     dns_rdatacommon_t    common;
  374.     isc_mem_t        *mctx;
  375.     dns_name_t        mg;
  376. } dns_rdata_mg_t;
  377.  
  378. #endif /* GENERIC_MG_8_H */
  379. /*
  380.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  381.  * Copyright (C) 1998-2001  Internet Software Consortium.
  382.  *
  383.  * Permission to use, copy, modify, and distribute this software for any
  384.  * purpose with or without fee is hereby granted, provided that the above
  385.  * copyright notice and this permission notice appear in all copies.
  386.  *
  387.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  388.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  389.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  390.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  391.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  392.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  393.  * PERFORMANCE OF THIS SOFTWARE.
  394.  */
  395.  
  396. /* */
  397. #ifndef GENERIC_MR_9_H
  398. #define GENERIC_MR_9_H 1
  399.  
  400. /* $Id: mr_9.h,v 1.22.18.2 2005/04/29 00:16:36 marka Exp $ */
  401.  
  402. typedef struct dns_rdata_mr {
  403.     dns_rdatacommon_t    common;
  404.     isc_mem_t        *mctx;
  405.     dns_name_t        mr;
  406. } dns_rdata_mr_t;
  407.  
  408. #endif /* GENERIC_MR_9_H */
  409. /*
  410.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  411.  * Copyright (C) 1998-2001  Internet Software Consortium.
  412.  *
  413.  * Permission to use, copy, modify, and distribute this software for any
  414.  * purpose with or without fee is hereby granted, provided that the above
  415.  * copyright notice and this permission notice appear in all copies.
  416.  *
  417.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  418.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  419.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  420.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  421.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  422.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  423.  * PERFORMANCE OF THIS SOFTWARE.
  424.  */
  425.  
  426. /* */
  427. #ifndef GENERIC_NULL_10_H
  428. #define GENERIC_NULL_10_H 1
  429.  
  430. /* $Id: null_10.h,v 1.21.18.2 2005/04/29 00:16:37 marka Exp $ */
  431.  
  432. typedef struct dns_rdata_null {
  433.     dns_rdatacommon_t    common;
  434.     isc_mem_t        *mctx;
  435.     isc_uint16_t        length;
  436.     unsigned char        *data;
  437. } dns_rdata_null_t;
  438.  
  439.  
  440. #endif /* GENERIC_NULL_10_H */
  441. /*
  442.  * Copyright (C) 2004  Internet Systems Consortium, Inc. ("ISC")
  443.  * Copyright (C) 1999-2001  Internet Software Consortium.
  444.  *
  445.  * Permission to use, copy, modify, and distribute this software for any
  446.  * purpose with or without fee is hereby granted, provided that the above
  447.  * copyright notice and this permission notice appear in all copies.
  448.  *
  449.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  450.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  451.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  452.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  453.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  454.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  455.  * PERFORMANCE OF THIS SOFTWARE.
  456.  */
  457.  
  458. #ifndef IN_1_WKS_11_H
  459. #define IN_1_WKS_11_H 1
  460.  
  461. /* $Id: wks_11.h,v 1.20 2004/03/05 05:10:25 marka Exp $ */
  462.  
  463. typedef    struct dns_rdata_in_wks {
  464.     dns_rdatacommon_t    common;
  465.     isc_mem_t        *mctx;
  466.     struct in_addr        in_addr;
  467.     isc_uint16_t        protocol;
  468.     unsigned char        *map;
  469.     isc_uint16_t        map_len;
  470. } dns_rdata_in_wks_t;
  471.  
  472. #endif /* IN_1_WKS_11_H */
  473. /*
  474.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  475.  * Copyright (C) 1998-2001  Internet Software Consortium.
  476.  *
  477.  * Permission to use, copy, modify, and distribute this software for any
  478.  * purpose with or without fee is hereby granted, provided that the above
  479.  * copyright notice and this permission notice appear in all copies.
  480.  *
  481.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  482.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  483.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  484.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  485.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  486.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  487.  * PERFORMANCE OF THIS SOFTWARE.
  488.  */
  489.  
  490. /* */
  491. #ifndef GENERIC_PTR_12_H
  492. #define GENERIC_PTR_12_H 1
  493.  
  494. /* $Id: ptr_12.h,v 1.23.18.2 2005/04/29 00:16:39 marka Exp $ */
  495.  
  496. typedef struct dns_rdata_ptr {
  497.         dns_rdatacommon_t       common;
  498.         isc_mem_t               *mctx;
  499.         dns_name_t              ptr;
  500. } dns_rdata_ptr_t;
  501.  
  502. #endif /* GENERIC_PTR_12_H */
  503. /*
  504.  * Copyright (C) 2004  Internet Systems Consortium, Inc. ("ISC")
  505.  * Copyright (C) 1998-2001  Internet Software Consortium.
  506.  *
  507.  * Permission to use, copy, modify, and distribute this software for any
  508.  * purpose with or without fee is hereby granted, provided that the above
  509.  * copyright notice and this permission notice appear in all copies.
  510.  *
  511.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  512.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  513.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  514.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  515.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  516.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  517.  * PERFORMANCE OF THIS SOFTWARE.
  518.  */
  519.  
  520. #ifndef GENERIC_HINFO_13_H
  521. #define GENERIC_HINFO_13_H 1
  522.  
  523. /* $Id: hinfo_13.h,v 1.23 2004/03/05 05:10:12 marka Exp $ */
  524.  
  525. typedef struct dns_rdata_hinfo {
  526.     dns_rdatacommon_t    common;
  527.     isc_mem_t        *mctx;
  528.     char            *cpu;
  529.     char            *os;
  530.     isc_uint8_t        cpu_len;
  531.     isc_uint8_t        os_len;
  532. } dns_rdata_hinfo_t;
  533.  
  534. #endif /* GENERIC_HINFO_13_H */
  535. /*
  536.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  537.  * Copyright (C) 1998-2001  Internet Software Consortium.
  538.  *
  539.  * Permission to use, copy, modify, and distribute this software for any
  540.  * purpose with or without fee is hereby granted, provided that the above
  541.  * copyright notice and this permission notice appear in all copies.
  542.  *
  543.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  544.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  545.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  546.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  547.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  548.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  549.  * PERFORMANCE OF THIS SOFTWARE.
  550.  */
  551.  
  552. /* */
  553. #ifndef GENERIC_MINFO_14_H
  554. #define GENERIC_MINFO_14_H 1
  555.  
  556. /* $Id: minfo_14.h,v 1.23.18.2 2005/04/29 00:16:35 marka Exp $ */
  557.  
  558. typedef struct dns_rdata_minfo {
  559.     dns_rdatacommon_t    common;
  560.     isc_mem_t        *mctx;
  561.     dns_name_t        rmailbox;
  562.     dns_name_t        emailbox;
  563. } dns_rdata_minfo_t;
  564.  
  565. #endif /* GENERIC_MINFO_14_H */
  566. /*
  567.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  568.  * Copyright (C) 1998-2001  Internet Software Consortium.
  569.  *
  570.  * Permission to use, copy, modify, and distribute this software for any
  571.  * purpose with or without fee is hereby granted, provided that the above
  572.  * copyright notice and this permission notice appear in all copies.
  573.  *
  574.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  575.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  576.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  577.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  578.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  579.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  580.  * PERFORMANCE OF THIS SOFTWARE.
  581.  */
  582.  
  583. /* */
  584. #ifndef GENERIC_MX_15_H
  585. #define GENERIC_MX_15_H 1
  586.  
  587. /* $Id: mx_15.h,v 1.25.18.2 2005/04/29 00:16:36 marka Exp $ */
  588.  
  589. typedef struct dns_rdata_mx {
  590.     dns_rdatacommon_t    common;
  591.     isc_mem_t        *mctx;
  592.     isc_uint16_t        pref;
  593.     dns_name_t        mx;
  594. } dns_rdata_mx_t;
  595.  
  596. #endif /* GENERIC_MX_15_H */
  597. /*
  598.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  599.  * Copyright (C) 1998-2001  Internet Software Consortium.
  600.  *
  601.  * Permission to use, copy, modify, and distribute this software for any
  602.  * purpose with or without fee is hereby granted, provided that the above
  603.  * copyright notice and this permission notice appear in all copies.
  604.  *
  605.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  606.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  607.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  608.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  609.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  610.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  611.  * PERFORMANCE OF THIS SOFTWARE.
  612.  */
  613.  
  614. /* */
  615. #ifndef GENERIC_TXT_16_H
  616. #define GENERIC_TXT_16_H 1
  617.  
  618. /* $Id: txt_16.h,v 1.24.18.2 2005/04/29 00:16:40 marka Exp $ */
  619.  
  620. typedef struct dns_rdata_txt_string {
  621.                 isc_uint8_t    length;
  622.                 unsigned char   *data;
  623. } dns_rdata_txt_string_t;
  624.  
  625. typedef struct dns_rdata_txt {
  626.         dns_rdatacommon_t       common;
  627.         isc_mem_t               *mctx;
  628.         unsigned char           *txt;
  629.         isc_uint16_t            txt_len;
  630.         /* private */
  631.         isc_uint16_t            offset;
  632. } dns_rdata_txt_t;
  633.  
  634. /*
  635.  * ISC_LANG_BEGINDECLS and ISC_LANG_ENDDECLS are already done
  636.  * via rdatastructpre.h and rdatastructsuf.h.
  637.  */
  638.  
  639. isc_result_t
  640. dns_rdata_txt_first(dns_rdata_txt_t *);
  641.  
  642. isc_result_t
  643. dns_rdata_txt_next(dns_rdata_txt_t *);
  644.  
  645. isc_result_t
  646. dns_rdata_txt_current(dns_rdata_txt_t *, dns_rdata_txt_string_t *);
  647.  
  648. #endif /* GENERIC_TXT_16_H */
  649. /*
  650.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  651.  * Copyright (C) 1999-2001  Internet Software Consortium.
  652.  *
  653.  * Permission to use, copy, modify, and distribute this software for any
  654.  * purpose with or without fee is hereby granted, provided that the above
  655.  * copyright notice and this permission notice appear in all copies.
  656.  *
  657.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  658.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  659.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  660.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  661.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  662.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  663.  * PERFORMANCE OF THIS SOFTWARE.
  664.  */
  665.  
  666. #ifndef GENERIC_RP_17_H
  667. #define GENERIC_RP_17_H 1
  668.  
  669. /* $Id: rp_17.h,v 1.17.18.2 2005/04/29 00:16:39 marka Exp $ */
  670.  
  671. /*!
  672.  *  \brief Per RFC1183 */
  673.  
  674. typedef struct dns_rdata_rp {
  675.         dns_rdatacommon_t       common;
  676.         isc_mem_t               *mctx;
  677.         dns_name_t              mail;
  678.         dns_name_t              text;
  679. } dns_rdata_rp_t;
  680.  
  681.  
  682. #endif /* GENERIC_RP_17_H */
  683. /*
  684.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  685.  * Copyright (C) 1999-2001  Internet Software Consortium.
  686.  *
  687.  * Permission to use, copy, modify, and distribute this software for any
  688.  * purpose with or without fee is hereby granted, provided that the above
  689.  * copyright notice and this permission notice appear in all copies.
  690.  *
  691.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  692.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  693.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  694.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  695.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  696.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  697.  * PERFORMANCE OF THIS SOFTWARE.
  698.  */
  699.  
  700. #ifndef GENERIC_AFSDB_18_H
  701. #define GENERIC_AFSDB_18_H 1
  702.  
  703. /* $Id: afsdb_18.h,v 1.16.18.2 2005/04/29 00:16:30 marka Exp $ */
  704.  
  705. /*!
  706.  *  \brief Per RFC1183 */
  707.  
  708. typedef struct dns_rdata_afsdb {
  709.     dns_rdatacommon_t    common;
  710.     isc_mem_t        *mctx;
  711.     isc_uint16_t        subtype;
  712.     dns_name_t        server;
  713. } dns_rdata_afsdb_t;
  714.  
  715. #endif /* GENERIC_AFSDB_18_H */
  716.  
  717. /*
  718.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  719.  * Copyright (C) 1999-2001  Internet Software Consortium.
  720.  *
  721.  * Permission to use, copy, modify, and distribute this software for any
  722.  * purpose with or without fee is hereby granted, provided that the above
  723.  * copyright notice and this permission notice appear in all copies.
  724.  *
  725.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  726.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  727.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  728.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  729.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  730.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  731.  * PERFORMANCE OF THIS SOFTWARE.
  732.  */
  733.  
  734. #ifndef GENERIC_X25_19_H
  735. #define GENERIC_X25_19_H 1
  736.  
  737. /* $Id: x25_19.h,v 1.14.18.2 2005/04/29 00:16:40 marka Exp $ */
  738.  
  739. /*!
  740.  *  \brief Per RFC1183 */
  741.  
  742. typedef struct dns_rdata_x25 {
  743.     dns_rdatacommon_t    common;
  744.     isc_mem_t        *mctx;
  745.     unsigned char        *x25;
  746.     isc_uint8_t        x25_len;
  747. } dns_rdata_x25_t;
  748.  
  749. #endif /* GENERIC_X25_19_H */
  750. /*
  751.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  752.  * Copyright (C) 1999-2001  Internet Software Consortium.
  753.  *
  754.  * Permission to use, copy, modify, and distribute this software for any
  755.  * purpose with or without fee is hereby granted, provided that the above
  756.  * copyright notice and this permission notice appear in all copies.
  757.  *
  758.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  759.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  760.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  761.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  762.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  763.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  764.  * PERFORMANCE OF THIS SOFTWARE.
  765.  */
  766.  
  767. #ifndef GENERIC_ISDN_20_H
  768. #define GENERIC_ISDN_20_H 1
  769.  
  770. /* $Id: isdn_20.h,v 1.14.18.2 2005/04/29 00:16:33 marka Exp $ */
  771.  
  772. /*!
  773.  * \brief Per RFC1183 */
  774.  
  775. typedef struct dns_rdata_isdn {
  776.     dns_rdatacommon_t    common;
  777.     isc_mem_t        *mctx;
  778.     char            *isdn;
  779.     char            *subaddress;
  780.     isc_uint8_t        isdn_len;
  781.     isc_uint8_t        subaddress_len;
  782. } dns_rdata_isdn_t;
  783.  
  784. #endif /* GENERIC_ISDN_20_H */
  785. /*
  786.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  787.  * Copyright (C) 1999-2001  Internet Software Consortium.
  788.  *
  789.  * Permission to use, copy, modify, and distribute this software for any
  790.  * purpose with or without fee is hereby granted, provided that the above
  791.  * copyright notice and this permission notice appear in all copies.
  792.  *
  793.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  794.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  795.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  796.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  797.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  798.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  799.  * PERFORMANCE OF THIS SOFTWARE.
  800.  */
  801.  
  802. #ifndef GENERIC_RT_21_H
  803. #define GENERIC_RT_21_H 1
  804.  
  805. /* $Id: rt_21.h,v 1.17.18.2 2005/04/29 00:16:40 marka Exp $ */
  806.  
  807. /*!
  808.  *  \brief Per RFC1183 */
  809.  
  810. typedef struct dns_rdata_rt {
  811.     dns_rdatacommon_t    common;
  812.     isc_mem_t        *mctx;
  813.     isc_uint16_t        preference;
  814.     dns_name_t        host;
  815. } dns_rdata_rt_t;
  816.  
  817. #endif /* GENERIC_RT_21_H */
  818. /*
  819.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  820.  * Copyright (C) 1999-2001  Internet Software Consortium.
  821.  *
  822.  * Permission to use, copy, modify, and distribute this software for any
  823.  * purpose with or without fee is hereby granted, provided that the above
  824.  * copyright notice and this permission notice appear in all copies.
  825.  *
  826.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  827.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  828.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  829.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  830.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  831.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  832.  * PERFORMANCE OF THIS SOFTWARE.
  833.  */
  834.  
  835. #ifndef IN_1_NSAP_22_H
  836. #define IN_1_NSAP_22_H 1
  837.  
  838. /* $Id: nsap_22.h,v 1.14.18.2 2005/04/29 00:16:43 marka Exp $ */
  839.  
  840. /*! 
  841.  *  \brief Per RFC1706 */
  842.  
  843. typedef struct dns_rdata_in_nsap {
  844.     dns_rdatacommon_t    common;
  845.     isc_mem_t        *mctx;
  846.     unsigned char        *nsap;
  847.     isc_uint16_t        nsap_len;
  848. } dns_rdata_in_nsap_t;
  849.  
  850. #endif /* IN_1_NSAP_22_H */
  851. /*
  852.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  853.  * Copyright (C) 1999-2001  Internet Software Consortium.
  854.  *
  855.  * Permission to use, copy, modify, and distribute this software for any
  856.  * purpose with or without fee is hereby granted, provided that the above
  857.  * copyright notice and this permission notice appear in all copies.
  858.  *
  859.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  860.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  861.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  862.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  863.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  864.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  865.  * PERFORMANCE OF THIS SOFTWARE.
  866.  */
  867.  
  868. #ifndef IN_1_NSAP_PTR_23_H
  869. #define IN_1_NSAP_PTR_23_H 1
  870.  
  871. /* $Id: nsap-ptr_23.h,v 1.15.18.2 2005/04/29 00:16:43 marka Exp $ */
  872.  
  873. /*! 
  874.  *  \brief Per RFC1348.  Obsoleted in RFC 1706 - use PTR instead. */
  875.  
  876. typedef struct dns_rdata_in_nsap_ptr {
  877.     dns_rdatacommon_t    common;
  878.     isc_mem_t        *mctx;
  879.     dns_name_t        owner;
  880. } dns_rdata_in_nsap_ptr_t;
  881.  
  882. #endif /* IN_1_NSAP_PTR_23_H */
  883. /*
  884.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  885.  * Copyright (C) 1999-2001  Internet Software Consortium.
  886.  *
  887.  * Permission to use, copy, modify, and distribute this software for any
  888.  * purpose with or without fee is hereby granted, provided that the above
  889.  * copyright notice and this permission notice appear in all copies.
  890.  *
  891.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  892.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  893.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  894.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  895.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  896.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  897.  * PERFORMANCE OF THIS SOFTWARE.
  898.  */
  899.  
  900. #ifndef GENERIC_SIG_24_H
  901. #define GENERIC_SIG_24_H 1
  902.  
  903. /* $Id: sig_24.h,v 1.22.18.2 2005/04/29 00:16:40 marka Exp $ */
  904.  
  905. /*!
  906.  *  \brief Per RFC2535 */
  907.  
  908. typedef struct dns_rdata_sig_t {
  909.     dns_rdatacommon_t    common;
  910.     isc_mem_t *        mctx;
  911.     dns_rdatatype_t        covered;
  912.     dns_secalg_t        algorithm;
  913.     isc_uint8_t        labels;
  914.     isc_uint32_t        originalttl;
  915.     isc_uint32_t        timeexpire;
  916.     isc_uint32_t        timesigned;
  917.     isc_uint16_t        keyid;
  918.         dns_name_t        signer;
  919.     isc_uint16_t        siglen;
  920.     unsigned char *        signature;
  921. } dns_rdata_sig_t;
  922.  
  923.  
  924. #endif /* GENERIC_SIG_24_H */
  925. /*
  926.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  927.  * Copyright (C) 1999-2001  Internet Software Consortium.
  928.  *
  929.  * Permission to use, copy, modify, and distribute this software for any
  930.  * purpose with or without fee is hereby granted, provided that the above
  931.  * copyright notice and this permission notice appear in all copies.
  932.  *
  933.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  934.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  935.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  936.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  937.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  938.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  939.  * PERFORMANCE OF THIS SOFTWARE.
  940.  */
  941.  
  942. #ifndef GENERIC_KEY_25_H
  943. #define GENERIC_KEY_25_H 1
  944.  
  945. /* $Id: key_25.h,v 1.15.18.2 2005/04/29 00:16:33 marka Exp $ */
  946.  
  947. /*!
  948.  * \brief Per RFC2535 */
  949.  
  950. typedef struct dns_rdata_key_t {
  951.         dns_rdatacommon_t    common;
  952.         isc_mem_t *        mctx;
  953.         isc_uint16_t        flags;
  954.         isc_uint8_t        protocol;
  955.         isc_uint8_t        algorithm;
  956.         isc_uint16_t        datalen;
  957.         unsigned char *        data;
  958. } dns_rdata_key_t;
  959.  
  960.  
  961. #endif /* GENERIC_KEY_25_H */
  962. /*
  963.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  964.  * Copyright (C) 1999-2001  Internet Software Consortium.
  965.  *
  966.  * Permission to use, copy, modify, and distribute this software for any
  967.  * purpose with or without fee is hereby granted, provided that the above
  968.  * copyright notice and this permission notice appear in all copies.
  969.  *
  970.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  971.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  972.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  973.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  974.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  975.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  976.  * PERFORMANCE OF THIS SOFTWARE.
  977.  */
  978.  
  979. #ifndef IN_1_PX_26_H
  980. #define IN_1_PX_26_H 1
  981.  
  982. /* $Id: px_26.h,v 1.15.18.2 2005/04/29 00:16:43 marka Exp $ */
  983.  
  984. /*! 
  985.  *  \brief Per RFC2163 */
  986.  
  987. typedef struct dns_rdata_in_px {
  988.     dns_rdatacommon_t    common;
  989.     isc_mem_t        *mctx;
  990.     isc_uint16_t        preference;
  991.     dns_name_t        map822;
  992.     dns_name_t        mapx400;
  993. } dns_rdata_in_px_t;
  994.  
  995. #endif /* IN_1_PX_26_H */
  996. /*
  997.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  998.  * Copyright (C) 1999-2001  Internet Software Consortium.
  999.  *
  1000.  * Permission to use, copy, modify, and distribute this software for any
  1001.  * purpose with or without fee is hereby granted, provided that the above
  1002.  * copyright notice and this permission notice appear in all copies.
  1003.  *
  1004.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  1005.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  1006.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  1007.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  1008.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  1009.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  1010.  * PERFORMANCE OF THIS SOFTWARE.
  1011.  */
  1012.  
  1013. #ifndef GENERIC_GPOS_27_H
  1014. #define GENERIC_GPOS_27_H 1
  1015.  
  1016. /* $Id: gpos_27.h,v 1.13.18.2 2005/04/29 00:16:32 marka Exp $ */
  1017.  
  1018. /*!
  1019.  *  \brief per RFC1712 */
  1020.  
  1021. typedef struct dns_rdata_gpos {
  1022.     dns_rdatacommon_t    common;
  1023.     isc_mem_t        *mctx;
  1024.     char            *longitude;
  1025.     char            *latitude;
  1026.     char            *altitude;
  1027.     isc_uint8_t        long_len;
  1028.     isc_uint8_t        lat_len;
  1029.     isc_uint8_t        alt_len;
  1030. } dns_rdata_gpos_t;
  1031.  
  1032. #endif /* GENERIC_GPOS_27_H */
  1033. /*
  1034.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  1035.  * Copyright (C) 1999-2001  Internet Software Consortium.
  1036.  *
  1037.  * Permission to use, copy, modify, and distribute this software for any
  1038.  * purpose with or without fee is hereby granted, provided that the above
  1039.  * copyright notice and this permission notice appear in all copies.
  1040.  *
  1041.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  1042.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  1043.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  1044.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  1045.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  1046.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  1047.  * PERFORMANCE OF THIS SOFTWARE.
  1048.  */
  1049.  
  1050. #ifndef IN_1_AAAA_28_H
  1051. #define IN_1_AAAA_28_H 1
  1052.  
  1053. /* $Id: aaaa_28.h,v 1.17.18.2 2005/04/29 00:16:42 marka Exp $ */
  1054.  
  1055. /*! 
  1056.  *  \brief Per RFC1886 */
  1057.  
  1058. typedef struct dns_rdata_in_aaaa {
  1059.     dns_rdatacommon_t    common;
  1060.     struct in6_addr        in6_addr;
  1061. } dns_rdata_in_aaaa_t;
  1062.  
  1063. #endif /* IN_1_AAAA_28_H */
  1064. /*
  1065.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  1066.  * Copyright (C) 1999-2001  Internet Software Consortium.
  1067.  *
  1068.  * Permission to use, copy, modify, and distribute this software for any
  1069.  * purpose with or without fee is hereby granted, provided that the above
  1070.  * copyright notice and this permission notice appear in all copies.
  1071.  *
  1072.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  1073.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  1074.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  1075.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  1076.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  1077.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  1078.  * PERFORMANCE OF THIS SOFTWARE.
  1079.  */
  1080.  
  1081. #ifndef GENERIC_LOC_29_H
  1082. #define GENERIC_LOC_29_H 1
  1083.  
  1084. /* $Id: loc_29.h,v 1.15.18.2 2005/04/29 00:16:34 marka Exp $ */
  1085.  
  1086. /*!
  1087.  * \brief Per RFC1876 */
  1088.  
  1089. typedef struct dns_rdata_loc_0 {
  1090.     isc_uint8_t    version;    /* must be first and zero */
  1091.     isc_uint8_t    size;
  1092.     isc_uint8_t    horizontal;
  1093.     isc_uint8_t    vertical;
  1094.     isc_uint32_t    latitude;
  1095.     isc_uint32_t    longitude;
  1096.     isc_uint32_t    altitude;
  1097. } dns_rdata_loc_0_t;
  1098.  
  1099. typedef struct dns_rdata_loc {
  1100.     dns_rdatacommon_t    common;
  1101.     union {
  1102.         dns_rdata_loc_0_t v0;
  1103.     } v;
  1104. } dns_rdata_loc_t;
  1105.  
  1106. #endif /* GENERIC_LOC_29_H */
  1107. /*
  1108.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  1109.  * Copyright (C) 1999-2002  Internet Software Consortium.
  1110.  *
  1111.  * Permission to use, copy, modify, and distribute this software for any
  1112.  * purpose with or without fee is hereby granted, provided that the above
  1113.  * copyright notice and this permission notice appear in all copies.
  1114.  *
  1115.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  1116.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  1117.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  1118.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  1119.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  1120.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  1121.  * PERFORMANCE OF THIS SOFTWARE.
  1122.  */
  1123.  
  1124. #ifndef GENERIC_NXT_30_H
  1125. #define GENERIC_NXT_30_H 1
  1126.  
  1127. /* $Id: nxt_30.h,v 1.21.18.2 2005/04/29 00:16:38 marka Exp $ */
  1128.  
  1129. /*!
  1130.  *  \brief RFC2535 */
  1131.  
  1132. typedef struct dns_rdata_nxt {
  1133.     dns_rdatacommon_t    common;
  1134.     isc_mem_t        *mctx;
  1135.     dns_name_t        next;
  1136.     unsigned char        *typebits;
  1137.     isc_uint16_t        len;
  1138. } dns_rdata_nxt_t;
  1139.  
  1140. #endif /* GENERIC_NXT_30_H */
  1141. /*
  1142.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  1143.  * Copyright (C) 1999-2001  Internet Software Consortium.
  1144.  *
  1145.  * Permission to use, copy, modify, and distribute this software for any
  1146.  * purpose with or without fee is hereby granted, provided that the above
  1147.  * copyright notice and this permission notice appear in all copies.
  1148.  *
  1149.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  1150.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  1151.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  1152.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  1153.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  1154.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  1155.  * PERFORMANCE OF THIS SOFTWARE.
  1156.  */
  1157.  
  1158. #ifndef IN_1_SRV_33_H
  1159. #define IN_1_SRV_33_H 1
  1160.  
  1161. /* $Id: srv_33.h,v 1.15.18.2 2005/04/29 00:16:43 marka Exp $ */
  1162.  
  1163. /* Reviewed: Fri Mar 17 13:01:00 PST 2000 by bwelling */
  1164.  
  1165. /*! 
  1166.  *  \brief Per RFC2782 */
  1167.  
  1168. typedef struct dns_rdata_in_srv {
  1169.     dns_rdatacommon_t    common;
  1170.     isc_mem_t        *mctx;
  1171.     isc_uint16_t        priority;
  1172.     isc_uint16_t        weight;
  1173.     isc_uint16_t        port;
  1174.     dns_name_t        target;
  1175. } dns_rdata_in_srv_t;
  1176.  
  1177. #endif /* IN_1_SRV_33_H */
  1178. /*
  1179.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  1180.  * Copyright (C) 1999-2001  Internet Software Consortium.
  1181.  *
  1182.  * Permission to use, copy, modify, and distribute this software for any
  1183.  * purpose with or without fee is hereby granted, provided that the above
  1184.  * copyright notice and this permission notice appear in all copies.
  1185.  *
  1186.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  1187.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  1188.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  1189.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  1190.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  1191.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  1192.  * PERFORMANCE OF THIS SOFTWARE.
  1193.  */
  1194.  
  1195. #ifndef IN_1_NAPTR_35_H
  1196. #define IN_1_NAPTR_35_H 1
  1197.  
  1198. /* $Id: naptr_35.h,v 1.19.18.2 2005/04/29 00:16:42 marka Exp $ */
  1199.  
  1200. /*! 
  1201.  *  \brief Per RFC2915 */
  1202.  
  1203. typedef struct dns_rdata_in_naptr {
  1204.     dns_rdatacommon_t    common;
  1205.     isc_mem_t        *mctx;
  1206.     isc_uint16_t        order;
  1207.     isc_uint16_t        preference;
  1208.     char            *flags;
  1209.     isc_uint8_t        flags_len;
  1210.     char            *service;
  1211.     isc_uint8_t        service_len;
  1212.     char            *regexp;
  1213.     isc_uint8_t        regexp_len;
  1214.     dns_name_t        replacement;
  1215. } dns_rdata_in_naptr_t;
  1216.  
  1217. #endif /* IN_1_NAPTR_35_H */
  1218. /*
  1219.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  1220.  * Copyright (C) 1999-2001  Internet Software Consortium.
  1221.  *
  1222.  * Permission to use, copy, modify, and distribute this software for any
  1223.  * purpose with or without fee is hereby granted, provided that the above
  1224.  * copyright notice and this permission notice appear in all copies.
  1225.  *
  1226.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  1227.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  1228.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  1229.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  1230.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  1231.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  1232.  * PERFORMANCE OF THIS SOFTWARE.
  1233.  */
  1234.  
  1235. #ifndef IN_1_KX_36_H
  1236. #define IN_1_KX_36_H 1
  1237.  
  1238. /* $Id: kx_36.h,v 1.16.18.2 2005/04/29 00:16:42 marka Exp $ */
  1239.  
  1240. /*! 
  1241.  *  \brief Per RFC2230 */
  1242.  
  1243. typedef struct dns_rdata_in_kx {
  1244.     dns_rdatacommon_t    common;
  1245.     isc_mem_t        *mctx;
  1246.     isc_uint16_t        preference;
  1247.     dns_name_t        exchange;
  1248. } dns_rdata_in_kx_t;
  1249.  
  1250. #endif /* IN_1_KX_36_H */
  1251. /*
  1252.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  1253.  * Copyright (C) 1999-2001  Internet Software Consortium.
  1254.  *
  1255.  * Permission to use, copy, modify, and distribute this software for any
  1256.  * purpose with or without fee is hereby granted, provided that the above
  1257.  * copyright notice and this permission notice appear in all copies.
  1258.  *
  1259.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  1260.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  1261.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  1262.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  1263.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  1264.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  1265.  * PERFORMANCE OF THIS SOFTWARE.
  1266.  */
  1267.  
  1268. /* $Id: cert_37.h,v 1.16.18.2 2005/04/29 00:16:31 marka Exp $ */
  1269.  
  1270. #ifndef GENERIC_CERT_37_H
  1271. #define GENERIC_CERT_37_H 1
  1272.  
  1273. /*% RFC2538 */
  1274. typedef struct dns_rdata_cert {
  1275.     dns_rdatacommon_t    common;
  1276.     isc_mem_t        *mctx;
  1277.     isc_uint16_t        type;
  1278.     isc_uint16_t        key_tag;
  1279.     isc_uint8_t        algorithm;
  1280.     isc_uint16_t        length;
  1281.     unsigned char        *certificate;
  1282. } dns_rdata_cert_t;
  1283.  
  1284. #endif /* GENERIC_CERT_37_H */
  1285. /*
  1286.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  1287.  * Copyright (C) 1999-2001  Internet Software Consortium.
  1288.  *
  1289.  * Permission to use, copy, modify, and distribute this software for any
  1290.  * purpose with or without fee is hereby granted, provided that the above
  1291.  * copyright notice and this permission notice appear in all copies.
  1292.  *
  1293.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  1294.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  1295.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  1296.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  1297.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  1298.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  1299.  * PERFORMANCE OF THIS SOFTWARE.
  1300.  */
  1301.  
  1302. #ifndef IN_1_A6_38_H
  1303. #define IN_1_A6_38_H 1
  1304.  
  1305. /* $Id: a6_38.h,v 1.20.18.2 2005/04/29 00:16:41 marka Exp $ */
  1306.  
  1307. /*! 
  1308.  *  \brief Per RFC2874 */
  1309.  
  1310. typedef struct dns_rdata_in_a6 {
  1311.         dns_rdatacommon_t    common;
  1312.     isc_mem_t        *mctx;
  1313.     dns_name_t        prefix;
  1314.     isc_uint8_t        prefixlen;
  1315.     struct in6_addr        in6_addr;
  1316. } dns_rdata_in_a6_t;
  1317.  
  1318. #endif /* IN_1_A6_38_H */
  1319. /*
  1320.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  1321.  * Copyright (C) 1999-2001  Internet Software Consortium.
  1322.  *
  1323.  * Permission to use, copy, modify, and distribute this software for any
  1324.  * purpose with or without fee is hereby granted, provided that the above
  1325.  * copyright notice and this permission notice appear in all copies.
  1326.  *
  1327.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  1328.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  1329.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  1330.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  1331.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  1332.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  1333.  * PERFORMANCE OF THIS SOFTWARE.
  1334.  */
  1335.  
  1336. #ifndef GENERIC_DNAME_39_H
  1337. #define GENERIC_DNAME_39_H 1
  1338.  
  1339. /* $Id: dname_39.h,v 1.17.18.2 2005/04/29 00:16:31 marka Exp $ */
  1340.  
  1341. /*! 
  1342.  *  \brief per RFC2672 */
  1343.  
  1344. typedef struct dns_rdata_dname {
  1345.     dns_rdatacommon_t    common;
  1346.     isc_mem_t        *mctx;
  1347.     dns_name_t        dname;
  1348. } dns_rdata_dname_t;
  1349.  
  1350. #endif /* GENERIC_DNAME_39_H */
  1351. /*
  1352.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  1353.  * Copyright (C) 1998-2001  Internet Software Consortium.
  1354.  *
  1355.  * Permission to use, copy, modify, and distribute this software for any
  1356.  * purpose with or without fee is hereby granted, provided that the above
  1357.  * copyright notice and this permission notice appear in all copies.
  1358.  *
  1359.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  1360.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  1361.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  1362.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  1363.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  1364.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  1365.  * PERFORMANCE OF THIS SOFTWARE.
  1366.  */
  1367.  
  1368. #ifndef GENERIC_OPT_41_H
  1369. #define GENERIC_OPT_41_H 1
  1370.  
  1371. /* $Id: opt_41.h,v 1.14.18.2 2005/04/29 00:16:38 marka Exp $ */
  1372.  
  1373. /*!
  1374.  *  \brief Per RFC2671 */
  1375.  
  1376. typedef struct dns_rdata_opt_opcode {
  1377.         isc_uint16_t    opcode;
  1378.         isc_uint16_t    length;
  1379.         unsigned char    *data;
  1380. } dns_rdata_opt_opcode_t;
  1381.  
  1382. typedef struct dns_rdata_opt {
  1383.     dns_rdatacommon_t    common;
  1384.     isc_mem_t        *mctx;
  1385.     unsigned char        *options;
  1386.     isc_uint16_t        length;
  1387.     /* private */
  1388.     isc_uint16_t        offset;
  1389. } dns_rdata_opt_t;
  1390.  
  1391. /*
  1392.  * ISC_LANG_BEGINDECLS and ISC_LANG_ENDDECLS are already done
  1393.  * via rdatastructpre.h and rdatastructsuf.h.
  1394.  */
  1395.  
  1396. isc_result_t
  1397. dns_rdata_opt_first(dns_rdata_opt_t *);
  1398.  
  1399. isc_result_t
  1400. dns_rdata_opt_next(dns_rdata_opt_t *);
  1401.  
  1402. isc_result_t
  1403. dns_rdata_opt_current(dns_rdata_opt_t *, dns_rdata_opt_opcode_t *);
  1404.  
  1405. #endif /* GENERIC_OPT_41_H */
  1406. /*
  1407.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  1408.  * Copyright (C) 2002  Internet Software Consortium.
  1409.  *
  1410.  * Permission to use, copy, modify, and distribute this software for any
  1411.  * purpose with or without fee is hereby granted, provided that the above
  1412.  * copyright notice and this permission notice appear in all copies.
  1413.  *
  1414.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  1415.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  1416.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  1417.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  1418.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  1419.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  1420.  * PERFORMANCE OF THIS SOFTWARE.
  1421.  */
  1422.  
  1423. /* */
  1424. #ifndef IN_1_APL_42_H
  1425. #define IN_1_APL_42_H 1
  1426.  
  1427. /* $Id: apl_42.h,v 1.2.18.2 2005/04/29 00:16:42 marka Exp $ */
  1428.  
  1429. typedef struct dns_rdata_apl_ent {
  1430.     isc_boolean_t    negative;
  1431.     isc_uint16_t    family;
  1432.     isc_uint8_t    prefix;
  1433.     isc_uint8_t    length;
  1434.     unsigned char    *data;
  1435. } dns_rdata_apl_ent_t;
  1436.  
  1437. typedef struct dns_rdata_in_apl {
  1438.     dns_rdatacommon_t    common;
  1439.     isc_mem_t        *mctx;
  1440.     /* type & class specific elements */
  1441.     unsigned char           *apl;
  1442.         isc_uint16_t            apl_len;
  1443.         /* private */
  1444.         isc_uint16_t            offset;
  1445. } dns_rdata_in_apl_t;
  1446.  
  1447. /*
  1448.  * ISC_LANG_BEGINDECLS and ISC_LANG_ENDDECLS are already done
  1449.  * via rdatastructpre.h and rdatastructsuf.h.
  1450.  */
  1451.  
  1452. isc_result_t
  1453. dns_rdata_apl_first(dns_rdata_in_apl_t *);
  1454.  
  1455. isc_result_t
  1456. dns_rdata_apl_next(dns_rdata_in_apl_t *);
  1457.  
  1458. isc_result_t
  1459. dns_rdata_apl_current(dns_rdata_in_apl_t *, dns_rdata_apl_ent_t *);
  1460.  
  1461. #endif /* IN_1_APL_42_H */
  1462. /*
  1463.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  1464.  * Copyright (C) 2002  Internet Software Consortium.
  1465.  *
  1466.  * Permission to use, copy, modify, and distribute this software for any
  1467.  * purpose with or without fee is hereby granted, provided that the above
  1468.  * copyright notice and this permission notice appear in all copies.
  1469.  *
  1470.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  1471.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  1472.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  1473.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  1474.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  1475.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  1476.  * PERFORMANCE OF THIS SOFTWARE.
  1477.  */
  1478.  
  1479. /* $Id: ds_43.h,v 1.3.20.2 2005/04/29 00:16:32 marka Exp $ */
  1480.  
  1481. #ifndef GENERIC_DS_43_H
  1482. #define GENERIC_DS_43_H 1
  1483.  
  1484. /*!
  1485.  *  \brief per draft-ietf-dnsext-delegation-signer-05.txt */
  1486. typedef struct dns_rdata_ds {
  1487.     dns_rdatacommon_t    common;
  1488.     isc_mem_t        *mctx;
  1489.     isc_uint16_t        key_tag;
  1490.     isc_uint8_t        algorithm;
  1491.     isc_uint8_t        digest_type;
  1492.     isc_uint16_t        length;
  1493.     unsigned char        *digest;
  1494. } dns_rdata_ds_t;
  1495.  
  1496. #endif /* GENERIC_DS_43_H */
  1497. /*
  1498.  * Copyright (C) 2004-2006  Internet Systems Consortium, Inc. ("ISC")
  1499.  * Copyright (C) 2003  Internet Software Consortium.
  1500.  *
  1501.  * Permission to use, copy, modify, and distribute this software for any
  1502.  * purpose with or without fee is hereby granted, provided that the above
  1503.  * copyright notice and this permission notice appear in all copies.
  1504.  *
  1505.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  1506.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  1507.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  1508.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  1509.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  1510.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  1511.  * PERFORMANCE OF THIS SOFTWARE.
  1512.  */
  1513.  
  1514. /* $Id: sshfp_44.h,v 1.2.18.3 2006/03/10 04:04:32 marka Exp $ */
  1515.  
  1516. /*!
  1517.  *  \brief Per RFC 4255 */
  1518.  
  1519. #ifndef GENERIC_SSHFP_44_H
  1520. #define GENERIC_SSHFP_44_H 1
  1521.  
  1522. typedef struct dns_rdata_sshfp {
  1523.     dns_rdatacommon_t    common;
  1524.     isc_mem_t        *mctx;
  1525.     isc_uint8_t        algorithm;
  1526.     isc_uint8_t        digest_type;
  1527.     isc_uint16_t        length;
  1528.     unsigned char        *digest;
  1529. } dns_rdata_sshfp_t;
  1530.  
  1531. #endif /* GENERIC_SSHFP_44_H */
  1532. /*
  1533.  * Copyright (C) 2005  Internet Systems Consortium, Inc. ("ISC")
  1534.  *
  1535.  * Permission to use, copy, modify, and distribute this software for any
  1536.  * purpose with or without fee is hereby granted, provided that the above
  1537.  * copyright notice and this permission notice appear in all copies.
  1538.  *
  1539.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  1540.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  1541.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  1542.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  1543.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  1544.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  1545.  * PERFORMANCE OF THIS SOFTWARE.
  1546.  */
  1547.  
  1548. /* $Id: ipseckey_45.h,v 1.2.2.1 2005/07/07 03:17:36 marka Exp $ */
  1549.  
  1550. #ifndef GENERIC_IPSECKEY_45_H
  1551. #define GENERIC_IPSECKEY_45_H 1
  1552.  
  1553. typedef struct dns_rdata_ipseckey {
  1554.     dns_rdatacommon_t    common;
  1555.     isc_mem_t        *mctx;
  1556.     isc_uint8_t        precedence;
  1557.     isc_uint8_t        gateway_type;
  1558.     isc_uint8_t        algorithm;
  1559.     struct in_addr        in_addr;    /* gateway type 1 */
  1560.     struct in6_addr        in6_addr;    /* gateway type 2 */
  1561.     dns_name_t        gateway;    /* gateway type 3 */
  1562.     unsigned char        *key;
  1563.     isc_uint16_t        keylength;
  1564. } dns_rdata_ipseckey_t;
  1565.  
  1566. #endif /* GENERIC_IPSECKEY_45_H */
  1567. /*
  1568.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  1569.  * Copyright (C) 2003  Internet Software Consortium.
  1570.  *
  1571.  * Permission to use, copy, modify, and distribute this software for any
  1572.  * purpose with or without fee is hereby granted, provided that the above
  1573.  * copyright notice and this permission notice appear in all copies.
  1574.  *
  1575.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  1576.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  1577.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  1578.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  1579.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  1580.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  1581.  * PERFORMANCE OF THIS SOFTWARE.
  1582.  */
  1583.  
  1584. #ifndef GENERIC_DNSSIG_46_H
  1585. #define GENERIC_DNSSIG_46_H 1
  1586.  
  1587. /* $Id: rrsig_46.h,v 1.3.20.2 2005/04/29 00:16:39 marka Exp $ */
  1588.  
  1589. /*!
  1590.  *  \brief Per RFC2535 */
  1591. typedef struct dns_rdata_rrsig {
  1592.     dns_rdatacommon_t    common;
  1593.     isc_mem_t *        mctx;
  1594.     dns_rdatatype_t        covered;
  1595.     dns_secalg_t        algorithm;
  1596.     isc_uint8_t        labels;
  1597.     isc_uint32_t        originalttl;
  1598.     isc_uint32_t        timeexpire;
  1599.     isc_uint32_t        timesigned;
  1600.     isc_uint16_t        keyid;
  1601.         dns_name_t        signer;
  1602.     isc_uint16_t        siglen;
  1603.     unsigned char *        signature;
  1604. } dns_rdata_rrsig_t;
  1605.  
  1606.  
  1607. #endif /* GENERIC_DNSSIG_46_H */
  1608. /*
  1609.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  1610.  * Copyright (C) 2003  Internet Software Consortium.
  1611.  *
  1612.  * Permission to use, copy, modify, and distribute this software for any
  1613.  * purpose with or without fee is hereby granted, provided that the above
  1614.  * copyright notice and this permission notice appear in all copies.
  1615.  *
  1616.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  1617.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  1618.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  1619.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  1620.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  1621.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  1622.  * PERFORMANCE OF THIS SOFTWARE.
  1623.  */
  1624.  
  1625. #ifndef GENERIC_NSEC_47_H
  1626. #define GENERIC_NSEC_47_H 1
  1627.  
  1628. /* $Id: nsec_47.h,v 1.4.20.2 2005/04/29 00:16:37 marka Exp $ */
  1629.  
  1630. /*!
  1631.  * \brief Per draft-ietf-dnsext-nsec-rdata-01.txt */
  1632.  
  1633. typedef struct dns_rdata_nsec {
  1634.     dns_rdatacommon_t    common;
  1635.     isc_mem_t        *mctx;
  1636.     dns_name_t        next;
  1637.     unsigned char        *typebits;
  1638.     isc_uint16_t        len;
  1639. } dns_rdata_nsec_t;
  1640.  
  1641. #endif /* GENERIC_NSEC_47_H */
  1642. /*
  1643.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  1644.  * Copyright (C) 2003  Internet Software Consortium.
  1645.  *
  1646.  * Permission to use, copy, modify, and distribute this software for any
  1647.  * purpose with or without fee is hereby granted, provided that the above
  1648.  * copyright notice and this permission notice appear in all copies.
  1649.  *
  1650.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  1651.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  1652.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  1653.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  1654.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  1655.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  1656.  * PERFORMANCE OF THIS SOFTWARE.
  1657.  */
  1658.  
  1659. #ifndef GENERIC_DNSKEY_48_H
  1660. #define GENERIC_DNSKEY_48_H 1
  1661.  
  1662. /* $Id: dnskey_48.h,v 1.3.20.2 2005/04/29 00:16:32 marka Exp $ */
  1663.  
  1664. /*!
  1665.  *  \brief per RFC2535 */
  1666.  
  1667. typedef struct dns_rdata_dnskey {
  1668.         dns_rdatacommon_t    common;
  1669.         isc_mem_t *        mctx;
  1670.         isc_uint16_t        flags;
  1671.         isc_uint8_t        protocol;
  1672.         isc_uint8_t        algorithm;
  1673.         isc_uint16_t        datalen;
  1674.         unsigned char *        data;
  1675. } dns_rdata_dnskey_t;
  1676.  
  1677.  
  1678. #endif /* GENERIC_DNSKEY_48_H */
  1679. /*
  1680.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  1681.  * Copyright (C) 1998-2001  Internet Software Consortium.
  1682.  *
  1683.  * Permission to use, copy, modify, and distribute this software for any
  1684.  * purpose with or without fee is hereby granted, provided that the above
  1685.  * copyright notice and this permission notice appear in all copies.
  1686.  *
  1687.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  1688.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  1689.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  1690.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  1691.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  1692.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  1693.  * PERFORMANCE OF THIS SOFTWARE.
  1694.  */
  1695.  
  1696. #ifndef GENERIC_SPF_99_H
  1697. #define GENERIC_SPF_99_H 1
  1698.  
  1699. /* $Id: spf_99.h,v 1.1.2.2 2005/07/16 00:40:54 marka Exp $ */
  1700.  
  1701. typedef struct dns_rdata_spf_string {
  1702.                 isc_uint8_t    length;
  1703.                 unsigned char   *data;
  1704. } dns_rdata_spf_string_t;
  1705.  
  1706. typedef struct dns_rdata_spf {
  1707.         dns_rdatacommon_t       common;
  1708.         isc_mem_t               *mctx;
  1709.         unsigned char           *txt;
  1710.         isc_uint16_t            txt_len;
  1711.         /* private */
  1712.         isc_uint16_t            offset;
  1713. } dns_rdata_spf_t;
  1714.  
  1715. /*
  1716.  * ISC_LANG_BEGINDECLS and ISC_LANG_ENDDECLS are already done
  1717.  * via rdatastructpre.h and rdatastructsuf.h.
  1718.  */
  1719.  
  1720. isc_result_t
  1721. dns_rdata_spf_first(dns_rdata_spf_t *);
  1722.  
  1723. isc_result_t
  1724. dns_rdata_spf_next(dns_rdata_spf_t *);
  1725.  
  1726. isc_result_t
  1727. dns_rdata_spf_current(dns_rdata_spf_t *, dns_rdata_spf_string_t *);
  1728.  
  1729. #endif /* GENERIC_SPF_99_H */
  1730. /*
  1731.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  1732.  * Copyright (C) 1999-2001  Internet Software Consortium.
  1733.  *
  1734.  * Permission to use, copy, modify, and distribute this software for any
  1735.  * purpose with or without fee is hereby granted, provided that the above
  1736.  * copyright notice and this permission notice appear in all copies.
  1737.  *
  1738.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  1739.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  1740.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  1741.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  1742.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  1743.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  1744.  * PERFORMANCE OF THIS SOFTWARE.
  1745.  */
  1746.  
  1747. /* */
  1748. #ifndef GENERIC_UNSPEC_103_H
  1749. #define GENERIC_UNSPEC_103_H 1
  1750.  
  1751. /* $Id: unspec_103.h,v 1.13.18.2 2005/04/29 00:16:40 marka Exp $ */
  1752.  
  1753. typedef struct dns_rdata_unspec_t {
  1754.     dns_rdatacommon_t    common;
  1755.     isc_mem_t        *mctx;
  1756.     unsigned char        *data;
  1757.     isc_uint16_t        datalen;
  1758. } dns_rdata_unspec_t;
  1759.  
  1760. #endif /* GENERIC_UNSPEC_103_H */
  1761. /*
  1762.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  1763.  * Copyright (C) 1999-2001, 2003  Internet Software Consortium.
  1764.  *
  1765.  * Permission to use, copy, modify, and distribute this software for any
  1766.  * purpose with or without fee is hereby granted, provided that the above
  1767.  * copyright notice and this permission notice appear in all copies.
  1768.  *
  1769.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  1770.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  1771.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  1772.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  1773.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  1774.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  1775.  * PERFORMANCE OF THIS SOFTWARE.
  1776.  */
  1777.  
  1778. #ifndef GENERIC_TKEY_249_H
  1779. #define GENERIC_TKEY_249_H 1
  1780.  
  1781. /* $Id: tkey_249.h,v 1.20.18.2 2005/04/29 00:16:40 marka Exp $ */
  1782.  
  1783. /*!
  1784.  *  \brief Per draft-ietf-dnsind-tkey-00.txt */
  1785.  
  1786. typedef struct dns_rdata_tkey {
  1787.         dns_rdatacommon_t    common;
  1788.         isc_mem_t *        mctx;
  1789.         dns_name_t        algorithm;
  1790.         isc_uint32_t        inception;
  1791.         isc_uint32_t        expire;
  1792.         isc_uint16_t        mode;
  1793.         isc_uint16_t        error;
  1794.         isc_uint16_t        keylen;
  1795.         unsigned char *        key;
  1796.         isc_uint16_t        otherlen;
  1797.         unsigned char *        other;
  1798. } dns_rdata_tkey_t;
  1799.  
  1800.  
  1801. #endif /* GENERIC_TKEY_249_H */
  1802. /*
  1803.  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
  1804.  * Copyright (C) 1999-2001  Internet Software Consortium.
  1805.  *
  1806.  * Permission to use, copy, modify, and distribute this software for any
  1807.  * purpose with or without fee is hereby granted, provided that the above
  1808.  * copyright notice and this permission notice appear in all copies.
  1809.  *
  1810.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  1811.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  1812.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  1813.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  1814.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  1815.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  1816.  * PERFORMANCE OF THIS SOFTWARE.
  1817.  */
  1818.  
  1819. /* $Id: tsig_250.h,v 1.21.18.2 2005/04/29 00:16:29 marka Exp $ */
  1820.  
  1821. #ifndef ANY_255_TSIG_250_H
  1822. #define ANY_255_TSIG_250_H 1
  1823.  
  1824. /*% RFC2845 */
  1825. typedef struct dns_rdata_any_tsig {
  1826.     dns_rdatacommon_t    common;
  1827.     isc_mem_t *        mctx;
  1828.     dns_name_t        algorithm;
  1829.     isc_uint64_t        timesigned;
  1830.     isc_uint16_t        fudge;
  1831.     isc_uint16_t        siglen;
  1832.     unsigned char *        signature;
  1833.     isc_uint16_t        originalid;
  1834.     isc_uint16_t        error;
  1835.     isc_uint16_t        otherlen;
  1836.     unsigned char *        other;
  1837. } dns_rdata_any_tsig_t;
  1838.  
  1839. #endif /* ANY_255_TSIG_250_H */
  1840. /*
  1841.  * Copyright (C) 2004, 2006  Internet Systems Consortium, Inc. ("ISC")
  1842.  *
  1843.  * Permission to use, copy, modify, and distribute this software for any
  1844.  * purpose with or without fee is hereby granted, provided that the above
  1845.  * copyright notice and this permission notice appear in all copies.
  1846.  *
  1847.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  1848.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  1849.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  1850.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  1851.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  1852.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  1853.  * PERFORMANCE OF THIS SOFTWARE.
  1854.  */
  1855.  
  1856. /* $Id: dlv_32769.h,v 1.2.2.2 2006/02/19 06:50:47 marka Exp $ */
  1857.  
  1858. /* draft-ietf-dnsext-delegation-signer-05.txt */
  1859. #ifndef GENERIC_DLV_32769_H
  1860. #define GENERIC_DLV_32769_H 1
  1861.  
  1862. typedef struct dns_rdata_dlv {
  1863.     dns_rdatacommon_t    common;
  1864.     isc_mem_t        *mctx;
  1865.     isc_uint16_t        key_tag;
  1866.     isc_uint8_t        algorithm;
  1867.     isc_uint8_t        digest_type;
  1868.     isc_uint16_t        length;
  1869.     unsigned char        *digest;
  1870. } dns_rdata_dlv_t;
  1871.  
  1872. #endif /* GENERIC_DLV_32769_H */
  1873. /*
  1874.  * Copyright (C) 2004  Internet Systems Consortium, Inc. ("ISC")
  1875.  * Copyright (C) 1999-2001  Internet Software Consortium.
  1876.  *
  1877.  * Permission to use, copy, modify, and distribute this software for any
  1878.  * purpose with or without fee is hereby granted, provided that the above
  1879.  * copyright notice and this permission notice appear in all copies.
  1880.  *
  1881.  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  1882.  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  1883.  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  1884.  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  1885.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  1886.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  1887.  * PERFORMANCE OF THIS SOFTWARE.
  1888.  */
  1889.  
  1890. /* $Id: rdatastructsuf.h,v 1.8 2004/03/05 05:10:04 marka Exp $ */
  1891.  
  1892. ISC_LANG_ENDDECLS
  1893.  
  1894. #endif /* DNS_RDATASTRUCT_H */
  1895.