Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > e3a718fcad37ff363f65d6a6e994e272 > files > 189

ldns-devel-1.6.12-1.fc15.i686.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type"
content="text/html;charset=iso-8859-1">
<title>ldns documentation</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<div class="logo">
<img src="LogoInGradientBar2-y100.png"/>
</div>
<!-- Generated by Doxygen 1.7.4 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="dir_7a7a565456b510ac01baf8655647d8a2.html">ldns</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="headertitle">
<div class="title">ldns.h</div>  </div>
</div>
<div class="contents">
<a href="ldns_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment"> * dns.h -- defines for the Domain Name System</span>
<a name="l00003"></a>00003 <span class="comment"> *</span>
<a name="l00004"></a>00004 <span class="comment"> * Copyright (c) 2005-2008, NLnet Labs. All rights reserved.</span>
<a name="l00005"></a>00005 <span class="comment"> *</span>
<a name="l00006"></a>00006 <span class="comment"> * See LICENSE for the license.</span>
<a name="l00007"></a>00007 <span class="comment"> *</span>
<a name="l00008"></a>00008 <span class="comment"> * This library was created by:</span>
<a name="l00009"></a>00009 <span class="comment"> * Jelte Jansen, Erik Rozendaal and Miek Gieben</span>
<a name="l00010"></a>00010 <span class="comment"> *</span>
<a name="l00011"></a>00011 <span class="comment"> * A bunch of defines that are used in the DNS.</span>
<a name="l00012"></a>00012 <span class="comment"> */</span>
<a name="l00013"></a>00013 
<a name="l00014"></a>00014 
<a name="l00089"></a>00089 <span class="preprocessor">#ifndef LDNS_DNS_H</span>
<a name="l00090"></a>00090 <span class="preprocessor"></span><span class="preprocessor">#define LDNS_DNS_H</span>
<a name="l00091"></a>00091 <span class="preprocessor"></span>
<a name="l00092"></a>00092 <span class="preprocessor">#include &lt;stdio.h&gt;</span>
<a name="l00093"></a>00093 <span class="preprocessor">#include &lt;stdlib.h&gt;</span>
<a name="l00094"></a>00094 
<a name="l00095"></a>00095 <span class="preprocessor">#include &lt;<a class="code" href="util_8h.html">ldns/util.h</a>&gt;</span>
<a name="l00096"></a>00096 <span class="preprocessor">#include &lt;<a class="code" href="buffer_8h.html" title="This file contains the definition of ldns_buffer, and functions to manipulate those.">ldns/buffer.h</a>&gt;</span>
<a name="l00097"></a>00097 <span class="preprocessor">#include &lt;<a class="code" href="common_8h.html" title="Common definitions for LDNS.">ldns/common.h</a>&gt;</span>
<a name="l00098"></a>00098 <span class="preprocessor">#include &lt;<a class="code" href="dname_8h.html" title="dname contains function to read and manipulate domain names.">ldns/dname.h</a>&gt;</span>
<a name="l00099"></a>00099 <span class="preprocessor">#include &lt;<a class="code" href="dnssec_8h.html" title="This module contains base functions for DNSSEC operations (RFC4033 t/m RFC4035).">ldns/dnssec.h</a>&gt;</span>
<a name="l00100"></a>00100 <span class="preprocessor">#include &lt;<a class="code" href="dnssec__verify_8h.html">ldns/dnssec_verify.h</a>&gt;</span>
<a name="l00101"></a>00101 <span class="preprocessor">#include &lt;<a class="code" href="dnssec__sign_8h.html">ldns/dnssec_sign.h</a>&gt;</span>
<a name="l00102"></a>00102 <span class="preprocessor">#include &lt;<a class="code" href="error_8h.html" title="Defines error numbers and functions to translate those to a readable string.">ldns/error.h</a>&gt;</span>
<a name="l00103"></a>00103 <span class="preprocessor">#include &lt;<a class="code" href="higher_8h.html" title="Specifies some higher level functions that could be useful for certain applications.">ldns/higher.h</a>&gt;</span>
<a name="l00104"></a>00104 <span class="preprocessor">#include &lt;<a class="code" href="host2str_8h.html" title="host2str.h - txt presentation of RRs">ldns/host2str.h</a>&gt;</span>
<a name="l00105"></a>00105 <span class="preprocessor">#include &lt;<a class="code" href="host2wire_8h.html" title="Contains all functions to translate the main structures to wire format.">ldns/host2wire.h</a>&gt;</span>
<a name="l00106"></a>00106 <span class="preprocessor">#include &lt;<a class="code" href="net_8h.html" title="Contains functions to send and receive packets over a network.">ldns/net.h</a>&gt;</span>
<a name="l00107"></a>00107 <span class="preprocessor">#include &lt;<a class="code" href="packet_8h.html" title="Contains the definition of ldns_pkt and its parts, as well as functions to manipulate those...">ldns/packet.h</a>&gt;</span>
<a name="l00108"></a>00108 <span class="preprocessor">#include &lt;<a class="code" href="rdata_8h.html" title="Defines ldns_rdf and functions to manipulate those.">ldns/rdata.h</a>&gt;</span>
<a name="l00109"></a>00109 <span class="preprocessor">#include &lt;<a class="code" href="resolver_8h.html" title="Defines the ldns_resolver structure, a stub resolver that can send queries and parse answers...">ldns/resolver.h</a>&gt;</span>
<a name="l00110"></a>00110 <span class="preprocessor">#include &lt;<a class="code" href="rr_8h.html" title="Contains the definition of ldns_rr and functions to manipulate those.">ldns/rr.h</a>&gt;</span>
<a name="l00111"></a>00111 <span class="preprocessor">#include &lt;<a class="code" href="str2host_8h.html" title="str2host.h - conversion from str to the host fmt">ldns/str2host.h</a>&gt;</span>
<a name="l00112"></a>00112 <span class="preprocessor">#include &lt;<a class="code" href="tsig_8h.html" title="Defines functions for TSIG usage.">ldns/tsig.h</a>&gt;</span>
<a name="l00113"></a>00113 <span class="preprocessor">#include &lt;<a class="code" href="update_8h.html" title="Defines functions to perform UPDATE queries.">ldns/update.h</a>&gt;</span>
<a name="l00114"></a>00114 <span class="preprocessor">#include &lt;<a class="code" href="wire2host_8h.html" title="Contains functions that translate dns data from the wire format (as sent by servers and clients) to t...">ldns/wire2host.h</a>&gt;</span>
<a name="l00115"></a>00115 <span class="preprocessor">#include &lt;<a class="code" href="rr__functions_8h.html" title="Defines some extra convenience functions for ldns_rr structures.">ldns/rr_functions.h</a>&gt;</span>
<a name="l00116"></a>00116 <span class="preprocessor">#include &lt;<a class="code" href="keys_8h.html" title="Addendum to dnssec.h, this module contains key and algorithm definitions and functions.">ldns/keys.h</a>&gt;</span>
<a name="l00117"></a>00117 <span class="preprocessor">#include &lt;<a class="code" href="parse_8h.html" title="Contains some low-level parsing functions, mostly used in the _frm_str family of functions.">ldns/parse.h</a>&gt;</span>
<a name="l00118"></a>00118 <span class="preprocessor">#include &lt;<a class="code" href="zone_8h.html" title="zone.h">ldns/zone.h</a>&gt;</span>
<a name="l00119"></a>00119 <span class="preprocessor">#include &lt;<a class="code" href="dnssec__zone_8h.html">ldns/dnssec_zone.h</a>&gt;</span>
<a name="l00120"></a>00120 <span class="preprocessor">#include &lt;<a class="code" href="rbtree_8h.html" title="Red black tree.">ldns/rbtree.h</a>&gt;</span>
<a name="l00121"></a>00121 <span class="preprocessor">#include &lt;<a class="code" href="sha1_8h.html">ldns/sha1.h</a>&gt;</span>
<a name="l00122"></a>00122 <span class="preprocessor">#include &lt;<a class="code" href="sha2_8h.html">ldns/sha2.h</a>&gt;</span>
<a name="l00123"></a>00123 
<a name="l00124"></a>00124 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00125"></a>00125 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {
<a name="l00126"></a>00126 <span class="preprocessor">#endif</span>
<a name="l00127"></a>00127 <span class="preprocessor"></span>
<a name="l00128"></a><a class="code" href="ldns_8h.html#acb7ea70554416f9777e65f1b229af901">00128</a> <span class="preprocessor">#define LDNS_IP4ADDRLEN      (32/8)</span>
<a name="l00129"></a><a class="code" href="ldns_8h.html#acf0d0da09570eb66d348db9a14f62e75">00129</a> <span class="preprocessor"></span><span class="preprocessor">#define LDNS_IP6ADDRLEN      (128/8)</span>
<a name="l00130"></a><a class="code" href="ldns_8h.html#af09fdea9d1f2f008a650be45ac3332c7">00130</a> <span class="preprocessor"></span><span class="preprocessor">#define LDNS_PORT       53</span>
<a name="l00131"></a><a class="code" href="ldns_8h.html#a43d84f56aba9f3e4b4b1f14a57acdb26">00131</a> <span class="preprocessor"></span><span class="preprocessor">#define LDNS_ROOT_LABEL_STR     &quot;.&quot;</span>
<a name="l00132"></a><a class="code" href="ldns_8h.html#a2bdd8bfa0eb61ccf7719d5ffcd1ac79e">00132</a> <span class="preprocessor"></span><span class="preprocessor">#define LDNS_DEFAULT_TTL        3600</span>
<a name="l00133"></a>00133 <span class="preprocessor"></span>
<a name="l00134"></a>00134 <span class="comment">/* lookup tables for standard DNS stuff  */</span>
<a name="l00135"></a>00135 
<a name="l00137"></a>00137 <span class="keyword">extern</span> <a class="code" href="structldns__struct__lookup__table.html" title="A general purpose lookup table.">ldns_lookup_table</a> <a class="code" href="ldns_8h.html#a977995ad94fca8b3b5e1aa9185b7c46e" title="Taken from RFC 2538, section 2.1.">ldns_certificate_types</a>[];
<a name="l00139"></a>00139 <span class="keyword">extern</span> <a class="code" href="structldns__struct__lookup__table.html" title="A general purpose lookup table.">ldns_lookup_table</a> <a class="code" href="host2str_8c.html#a83c085e13c2a73dd5fad16baf0318331" title="Taken from RFC 2535, section 7.">ldns_algorithms</a>[];
<a name="l00141"></a>00141 <span class="keyword">extern</span> <a class="code" href="structldns__struct__lookup__table.html" title="A general purpose lookup table.">ldns_lookup_table</a> <a class="code" href="host2str_8c.html#adcb97eea7f8d8f68de7022077e7c7506" title="Taken from RFC 2538.">ldns_cert_algorithms</a>[];
<a name="l00143"></a>00143 <span class="keyword">extern</span> <a class="code" href="structldns__struct__lookup__table.html" title="A general purpose lookup table.">ldns_lookup_table</a> <a class="code" href="host2str_8c.html#ac564d00208d5565a73b410b3cb5cd485" title="rr types">ldns_rr_classes</a>[];
<a name="l00145"></a>00145 <span class="keyword">extern</span> <a class="code" href="structldns__struct__lookup__table.html" title="A general purpose lookup table.">ldns_lookup_table</a> <a class="code" href="host2str_8c.html#a3706e74a86ba7d7753996b9e889e0419" title="Response codes.">ldns_rcodes</a>[];
<a name="l00147"></a>00147 <span class="keyword">extern</span> <a class="code" href="structldns__struct__lookup__table.html" title="A general purpose lookup table.">ldns_lookup_table</a> <a class="code" href="host2str_8c.html#a9e381bc2e510c98adeb0137378ba05d8" title="Operation codes.">ldns_opcodes</a>[];
<a name="l00149"></a>00149 <span class="keyword">extern</span> <a class="code" href="structldns__struct__lookup__table.html" title="A general purpose lookup table.">ldns_lookup_table</a> <a class="code" href="packet_8c.html#ad1fd78ea61c18e2256d46f10d55c5e1a" title="EDNS flags.">ldns_edns_flags</a>[];
<a name="l00150"></a>00150 
<a name="l00151"></a>00151 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00152"></a>00152 <span class="preprocessor"></span>}
<a name="l00153"></a>00153 <span class="preprocessor">#endif</span>
<a name="l00154"></a>00154 <span class="preprocessor"></span>
<a name="l00155"></a>00155 <span class="preprocessor">#endif </span><span class="comment">/* LDNS_DNS_H */</span>
</pre></div></div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Wed Jan 11 2012 for ldns by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
</html>