Sophie

Sophie

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

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 class="header">
  <div class="headertitle">
<div class="title">error.c</div>  </div>
</div>
<div class="contents">
<a href="error_8c.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"> * a error2str function to make sense of all the</span>
<a name="l00003"></a>00003 <span class="comment"> * error codes we have laying ardoun</span>
<a name="l00004"></a>00004 <span class="comment"> *</span>
<a name="l00005"></a>00005 <span class="comment"> * a Net::DNS like library for C</span>
<a name="l00006"></a>00006 <span class="comment"> * LibDNS Team @ NLnet Labs</span>
<a name="l00007"></a>00007 <span class="comment"> * (c) NLnet Labs, 2005-2006</span>
<a name="l00008"></a>00008 <span class="comment"> * See the file LICENSE for the license</span>
<a name="l00009"></a>00009 <span class="comment"> */</span>
<a name="l00010"></a>00010 
<a name="l00011"></a>00011 <span class="preprocessor">#include &lt;<a class="code" href="ldns_2config_8h.html">ldns/config.h</a>&gt;</span>
<a name="l00012"></a>00012 
<a name="l00013"></a>00013 <span class="preprocessor">#include &lt;<a class="code" href="ldns_8h.html" title="Including this file will include all ldns files, and define some lookup tables.">ldns/ldns.h</a>&gt;</span>
<a name="l00014"></a>00014 
<a name="l00015"></a><a class="code" href="error_8h.html#ae897dacc0cddcf3c9ef886d77196903b">00015</a> <a class="code" href="structldns__struct__lookup__table.html" title="A general purpose lookup table.">ldns_lookup_table</a> <a class="code" href="error_8c.html#ae897dacc0cddcf3c9ef886d77196903b">ldns_error_str</a>[] = {
<a name="l00016"></a>00016         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afac58492ee3fc8d23f33c79824ed08c465">LDNS_STATUS_OK</a>, <span class="stringliteral">&quot;All OK&quot;</span> },
<a name="l00017"></a>00017         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853aface0dabb03df5b8b93c765c99a1314cc6">LDNS_STATUS_EMPTY_LABEL</a>, <span class="stringliteral">&quot;Empty label&quot;</span> },
<a name="l00018"></a>00018         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa6918ba0f18db820fc7736c11b40099e9">LDNS_STATUS_LABEL_OVERFLOW</a>, <span class="stringliteral">&quot;Label length overflow&quot;</span> },
<a name="l00019"></a>00019         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afad77a477a6892604c0365ce181e72fb87">LDNS_STATUS_DOMAINNAME_OVERFLOW</a>, <span class="stringliteral">&quot;Domainname length overflow&quot;</span> },
<a name="l00020"></a>00020         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa17246e3f1d43e159327372f1b8f43510">LDNS_STATUS_DOMAINNAME_UNDERFLOW</a>, <span class="stringliteral">&quot;Domainname length underflow (zero length)&quot;</span> },
<a name="l00021"></a>00021         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afaae0ce80a15f70eb646976c4fce6e1dde">LDNS_STATUS_DDD_OVERFLOW</a>, <span class="stringliteral">&quot;\\DDD sequence overflow (&gt;255)&quot;</span> },
<a name="l00022"></a>00022         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afad0a3d207d418643d04247ebfc0f92661">LDNS_STATUS_PACKET_OVERFLOW</a>, <span class="stringliteral">&quot;Packet size overflow&quot;</span> },
<a name="l00023"></a>00023         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afaa63a49a6ff041ba0f1d8715c53010b08">LDNS_STATUS_INVALID_POINTER</a>, <span class="stringliteral">&quot;Invalid compression pointer&quot;</span> },
<a name="l00024"></a>00024         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa81e80e66a14551db514726fa49290498">LDNS_STATUS_MEM_ERR</a>, <span class="stringliteral">&quot;General memory error&quot;</span> },
<a name="l00025"></a>00025         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa9029a7994da0e2f27cff8848a6c6f9da">LDNS_STATUS_INTERNAL_ERR</a>, <span class="stringliteral">&quot;Internal error, this should not happen&quot;</span> },
<a name="l00026"></a>00026         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa4b81ce86fac4200eb70195508a52c5c0">LDNS_STATUS_SSL_ERR</a>, <span class="stringliteral">&quot;Error in SSL library&quot;</span> },
<a name="l00027"></a>00027         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa804a996d5f13cda0806bf1d54114d2ca">LDNS_STATUS_ERR</a>, <span class="stringliteral">&quot;General LDNS error&quot;</span> },
<a name="l00028"></a>00028         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afaa8ab45ebc0894625f257205f602485e3">LDNS_STATUS_INVALID_INT</a>, <span class="stringliteral">&quot;Conversion error, integer expected&quot;</span> },
<a name="l00029"></a>00029         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa385b32385f222a400d07d29a0287b8bd">LDNS_STATUS_INVALID_IP4</a>, <span class="stringliteral">&quot;Conversion error, ip4 addr expected&quot;</span> },
<a name="l00030"></a>00030         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa6f55d9fb855e3e66e57484833292cc18">LDNS_STATUS_INVALID_IP6</a>, <span class="stringliteral">&quot;Conversion error, ip6 addr expected&quot;</span> },
<a name="l00031"></a>00031         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa11963cb870621a1b56d6f3275979692b">LDNS_STATUS_INVALID_STR</a>, <span class="stringliteral">&quot;Conversion error, string expected&quot;</span> },
<a name="l00032"></a>00032         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afadb4c7f5c75af41904d2de6947c96fb2f">LDNS_STATUS_INVALID_B64</a>, <span class="stringliteral">&quot;Conversion error, b64 encoding expected&quot;</span> },
<a name="l00033"></a>00033         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa8eb8ccb1ac311493607d05549cfc8041">LDNS_STATUS_INVALID_HEX</a>, <span class="stringliteral">&quot;Conversion error, hex encoding expected&quot;</span> },
<a name="l00034"></a>00034         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa5534787a634dbf90eaf533bb8a68b95a">LDNS_STATUS_INVALID_TIME</a>, <span class="stringliteral">&quot;Conversion error, time encoding expected&quot;</span> },
<a name="l00035"></a>00035         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa0e6b44ad0292df31d103cab274cf0024">LDNS_STATUS_NETWORK_ERR</a>, <span class="stringliteral">&quot;Could not send or receive, because of network error&quot;</span> },
<a name="l00036"></a>00036         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afaae9d2b2c6c46e88d6e9ab7c9435a3b37">LDNS_STATUS_ADDRESS_ERR</a>, <span class="stringliteral">&quot;Could not start AXFR, because of address error&quot;</span> },
<a name="l00037"></a>00037         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa09527ca828d2c6d653f508763a6996ff">LDNS_STATUS_FILE_ERR</a>, <span class="stringliteral">&quot;Could not open the files&quot;</span> },
<a name="l00038"></a>00038         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afae5c82f9ef7676ca3c9194fec9eb185dc">LDNS_STATUS_UNKNOWN_INET</a>, <span class="stringliteral">&quot;Uknown address family&quot;</span> },
<a name="l00039"></a>00039         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afaf1ce9c32884f98f043eb87034008e9a3">LDNS_STATUS_NOT_IMPL</a>, <span class="stringliteral">&quot;This function is not implemented (yet), please notify the developers - or not...&quot;</span> },
<a name="l00040"></a>00040         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa6d2e84d0a5c36fd156f348d9f9913dcf">LDNS_STATUS_NULL</a>, <span class="stringliteral">&quot;Supplied value pointer null&quot;</span> },
<a name="l00041"></a>00041         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afabf20385a3bf3e8dd3f6d3a3bf6ccc9cf">LDNS_STATUS_CRYPTO_UNKNOWN_ALGO</a>, <span class="stringliteral">&quot;Unknown cryptographic algorithm&quot;</span> },
<a name="l00042"></a>00042         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa20e6f2e3ad5fe53f67985a52aa797629">LDNS_STATUS_CRYPTO_ALGO_NOT_IMPL</a>, <span class="stringliteral">&quot;Cryptographic algorithm not implemented&quot;</span> },
<a name="l00043"></a>00043         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa1992fe65b37edf9f3ece254068f0198a">LDNS_STATUS_CRYPTO_NO_RRSIG</a>, <span class="stringliteral">&quot;No DNSSEC signature(s)&quot;</span> },
<a name="l00044"></a>00044         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa48b759ca7b145e6612d64ca349093571">LDNS_STATUS_CRYPTO_NO_DNSKEY</a>, <span class="stringliteral">&quot;No DNSSEC public key(s)&quot;</span> },
<a name="l00045"></a>00045         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa1b2157f5f9df54ca3d954517a22dc00e">LDNS_STATUS_CRYPTO_TYPE_COVERED_ERR</a>, <span class="stringliteral">&quot;The signature does not cover this RRset&quot;</span> },
<a name="l00046"></a>00046         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa082d3b02b16b83558c636c7afa283c44">LDNS_STATUS_CRYPTO_NO_TRUSTED_DNSKEY</a>, <span class="stringliteral">&quot;No signatures found for trusted DNSSEC public key(s)&quot;</span> },
<a name="l00047"></a>00047         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa290c713685891308df68f46af82d1ba1">LDNS_STATUS_CRYPTO_NO_DS</a>, <span class="stringliteral">&quot;No DS record(s)&quot;</span> },
<a name="l00048"></a>00048         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa4bf7efffc9bc21564ff032140cae44d2">LDNS_STATUS_CRYPTO_NO_TRUSTED_DS</a>, <span class="stringliteral">&quot;Could not validate DS record(s)&quot;</span> },
<a name="l00049"></a>00049         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa5b3c1d6de56de00d265c6a38f208eabe">LDNS_STATUS_CRYPTO_NO_MATCHING_KEYTAG_DNSKEY</a>, <span class="stringliteral">&quot;No keys with the keytag and algorithm from the RRSIG found&quot;</span> },
<a name="l00050"></a>00050         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afadf4f466fca276c40237ef067d532ac70">LDNS_STATUS_CRYPTO_VALIDATED</a>, <span class="stringliteral">&quot;Valid DNSSEC signature&quot;</span> },
<a name="l00051"></a>00051         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa58096ec003bcc4803ad53989b81ee8e1">LDNS_STATUS_CRYPTO_BOGUS</a>, <span class="stringliteral">&quot;Bogus DNSSEC signature&quot;</span> },
<a name="l00052"></a>00052         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afab6233e5fe4001670fc1bbcf9edfb23f4">LDNS_STATUS_CRYPTO_SIG_EXPIRED</a>, <span class="stringliteral">&quot;DNSSEC signature has expired&quot;</span> },
<a name="l00053"></a>00053         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa733e03da9713a5b72654507d0496b1b1">LDNS_STATUS_CRYPTO_SIG_NOT_INCEPTED</a>, <span class="stringliteral">&quot;DNSSEC signature not incepted yet&quot;</span> },
<a name="l00054"></a>00054         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa9c2069af2fcbd62ee59324909b2722ad">LDNS_STATUS_CRYPTO_TSIG_BOGUS</a>, <span class="stringliteral">&quot;Bogus TSIG signature&quot;</span> },
<a name="l00055"></a>00055         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afacc0113e61fc41216a1f417d7e894ed88">LDNS_STATUS_CRYPTO_TSIG_ERR</a>, <span class="stringliteral">&quot;Could not create TSIG signature&quot;</span> },
<a name="l00056"></a>00056         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa28318bd32504f17e48c9e93ceef88a5e">LDNS_STATUS_CRYPTO_EXPIRATION_BEFORE_INCEPTION</a>, <span class="stringliteral">&quot;DNSSEC signature has expiration date earlier than inception date&quot;</span> },
<a name="l00057"></a>00057         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa1d186fa69b3fb1fabdea4b3f77c955c9">LDNS_STATUS_ENGINE_KEY_NOT_LOADED</a>, <span class="stringliteral">&quot;Unable to load private key from engine&quot;</span> },
<a name="l00058"></a>00058         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa6c09767bb050fe98bea71fd67a44b7c0">LDNS_STATUS_NSEC3_ERR</a>, <span class="stringliteral">&quot;Error in NSEC3 denial of existence proof&quot;</span> },
<a name="l00059"></a>00059         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afad32d0804440e92c91eecb4bd79da4960">LDNS_STATUS_RES_NO_NS</a>, <span class="stringliteral">&quot;No (valid) nameservers defined in the resolver&quot;</span> },
<a name="l00060"></a>00060         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afabbdff8b56af081d324d5936919338c27">LDNS_STATUS_RES_QUERY</a>, <span class="stringliteral">&quot;No correct query given to resolver&quot;</span> },
<a name="l00061"></a>00061         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa3792a55167e0c47354379f9c7db84128">LDNS_STATUS_WIRE_INCOMPLETE_HEADER</a>, <span class="stringliteral">&quot;header section incomplete&quot;</span> },
<a name="l00062"></a>00062         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa05562056eabb1c9a530fdfe35cb07b65">LDNS_STATUS_WIRE_INCOMPLETE_QUESTION</a>, <span class="stringliteral">&quot;question section incomplete&quot;</span> },
<a name="l00063"></a>00063         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afaa0975072f4b49d00fa9accb3f66eef13">LDNS_STATUS_WIRE_INCOMPLETE_ANSWER</a>, <span class="stringliteral">&quot;answer section incomplete&quot;</span> },
<a name="l00064"></a>00064         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afaa8f309dc0b33d2004aa5508ded949e5f">LDNS_STATUS_WIRE_INCOMPLETE_AUTHORITY</a>, <span class="stringliteral">&quot;authority section incomplete&quot;</span> },
<a name="l00065"></a>00065         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa1dc38015a1d6a6009be4f597c323b871">LDNS_STATUS_WIRE_INCOMPLETE_ADDITIONAL</a>, <span class="stringliteral">&quot;additional section incomplete&quot;</span> },
<a name="l00066"></a>00066         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa11543e5e99fc4afe58e0f5dd8e0ae7aa">LDNS_STATUS_NO_DATA</a>, <span class="stringliteral">&quot;No data&quot;</span> },
<a name="l00067"></a>00067         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afaec727b5be0b73fe55e01430202e19e1a">LDNS_STATUS_CERT_BAD_ALGORITHM</a>, <span class="stringliteral">&quot;Bad algorithm type for CERT record&quot;</span> },
<a name="l00068"></a>00068         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa97875380740ca786339c71893cc57b39">LDNS_STATUS_SYNTAX_TYPE_ERR</a>, <span class="stringliteral">&quot;Syntax error, could not parse the RR&#39;s type&quot;</span> },
<a name="l00069"></a>00069         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afae69efff90ea52845b375327199a6f91a">LDNS_STATUS_SYNTAX_CLASS_ERR</a>, <span class="stringliteral">&quot;Syntax error, could not parse the RR&#39;s class&quot;</span> },
<a name="l00070"></a>00070         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afaecee740929f2b8c6a96dc1679b1f6700">LDNS_STATUS_SYNTAX_TTL_ERR</a>, <span class="stringliteral">&quot;Syntax error, could not parse the RR&#39;s TTL&quot;</span> },
<a name="l00071"></a>00071         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa5f78ec5bc5a0ebd3563ba8707f7ecda8">LDNS_STATUS_SYNTAX_INCLUDE_ERR_NOTIMPL</a>, <span class="stringliteral">&quot;Syntax error, $INCLUDE not implemented&quot;</span> },
<a name="l00072"></a>00072         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa964d481de70cdd4f7d14482e9464bc37">LDNS_STATUS_SYNTAX_RDATA_ERR</a>, <span class="stringliteral">&quot;Syntax error, could not parse the RR&#39;s rdata&quot;</span> },
<a name="l00073"></a>00073         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa6ee1fa1f7ee5bb8957b8196cb8a1719a">LDNS_STATUS_SYNTAX_DNAME_ERR</a>, <span class="stringliteral">&quot;Syntax error, could not parse the RR&#39;s dname(s)&quot;</span> },
<a name="l00074"></a>00074         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa16417d182c163e350b9cc391f0df34c0">LDNS_STATUS_SYNTAX_VERSION_ERR</a>, <span class="stringliteral">&quot;Syntax error, version mismatch&quot;</span> },
<a name="l00075"></a>00075         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afacca94a9a1411f1c6bb41c800d69a38e0">LDNS_STATUS_SYNTAX_ALG_ERR</a>, <span class="stringliteral">&quot;Syntax error, algorithm unknown or non parseable&quot;</span> },
<a name="l00076"></a>00076         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa4f43fab232d396beede0c3b5c3109957">LDNS_STATUS_SYNTAX_KEYWORD_ERR</a>, <span class="stringliteral">&quot;Syntax error, unknown keyword in input&quot;</span> },
<a name="l00077"></a>00077         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa490d1b376ded8a2368dc5548da8f2a04">LDNS_STATUS_SYNTAX_ERR</a>, <span class="stringliteral">&quot;Syntax error, could not parse the RR&quot;</span> },
<a name="l00078"></a>00078         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afacebc5228927911f438d2402ce2586622">LDNS_STATUS_SYNTAX_EMPTY</a>, <span class="stringliteral">&quot;Empty line was returned&quot;</span> },
<a name="l00079"></a>00079         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa8e27fa2d37ff7c0571df91f3bc8a1ab0">LDNS_STATUS_SYNTAX_TTL</a>, <span class="stringliteral">&quot;$TTL directive was seen in the zone&quot;</span> },
<a name="l00080"></a>00080         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afaf07e9c30262652a7c16c2de62b7febf6">LDNS_STATUS_SYNTAX_ORIGIN</a>, <span class="stringliteral">&quot;$ORIGIN directive was seen in the zone&quot;</span> },
<a name="l00081"></a>00081         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afaea7305a7808dfad9ee2e8674898ddf54">LDNS_STATUS_SYNTAX_INCLUDE</a>, <span class="stringliteral">&quot;$INCLUDE directive was seen in the zone&quot;</span> },
<a name="l00082"></a>00082         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afae5c4c04bb724eaca63fc82e7827fb1ea">LDNS_STATUS_SYNTAX_ITERATIONS_OVERFLOW</a>, <span class="stringliteral">&quot;Iterations count for NSEC3 record higher than maximum&quot;</span> },
<a name="l00083"></a>00083         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afacbbbc1e242d9260df0f67697abe77713">LDNS_STATUS_SYNTAX_MISSING_VALUE_ERR</a>, <span class="stringliteral">&quot;Syntax error, value expected&quot;</span> },
<a name="l00084"></a>00084         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa3d7915d92cb3135f3225dbf8837d2526">LDNS_STATUS_SYNTAX_INTEGER_OVERFLOW</a>, <span class="stringliteral">&quot;Syntax error, integer value too large&quot;</span> },
<a name="l00085"></a>00085         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa9115e9db50a76f7609140b22a8e972ab">LDNS_STATUS_SYNTAX_BAD_ESCAPE</a>, <span class="stringliteral">&quot;Syntax error, bad escape sequence&quot;</span> },
<a name="l00086"></a>00086         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa5e6d09e60bd58f655364e55c053ff13a">LDNS_STATUS_SOCKET_ERROR</a>, <span class="stringliteral">&quot;Error creating socket&quot;</span> },
<a name="l00087"></a>00087         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afaa1eaf40ac948c68192b55b9da848c8b8">LDNS_STATUS_DNSSEC_EXISTENCE_DENIED</a>, <span class="stringliteral">&quot;Existence denied by NSEC&quot;</span> },
<a name="l00088"></a>00088         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa51edd9677d9a7005893964fba93de621">LDNS_STATUS_DNSSEC_NSEC_RR_NOT_COVERED</a>, <span class="stringliteral">&quot;RR not covered by the given NSEC RRs&quot;</span> },
<a name="l00089"></a>00089         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa24b1459648cf90d71f7929f30158e7a6">LDNS_STATUS_DNSSEC_NSEC_WILDCARD_NOT_COVERED</a>, <span class="stringliteral">&quot;wildcard not covered by the given NSEC RRs&quot;</span> },
<a name="l00090"></a>00090         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afa3ada0f4aa34863dd42248c9421853fe6">LDNS_STATUS_DNSSEC_NSEC3_ORIGINAL_NOT_FOUND</a>, <span class="stringliteral">&quot;original of NSEC3 hashed name could not be found&quot;</span> },
<a name="l00091"></a>00091         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afae684568a769f25d86c503a89963d4432">LDNS_STATUS_MISSING_RDATA_FIELDS_RRSIG</a>, <span class="stringliteral">&quot;The RRSIG has to few rdata fields&quot;</span> },
<a name="l00092"></a>00092         { <a class="code" href="error_8h.html#a11f34802bb1624af46054952e3b853afad71b362f3bebf02b7b44eb1a66442eef">LDNS_STATUS_MISSING_RDATA_FIELDS_KEY</a>, <span class="stringliteral">&quot;The DNSKEY has to few rdata fields&quot;</span> },
<a name="l00093"></a>00093         { 0, NULL }
<a name="l00094"></a>00094 };
<a name="l00095"></a>00095 
<a name="l00096"></a>00096 <span class="keyword">const</span> <span class="keywordtype">char</span> *
<a name="l00097"></a><a class="code" href="error_8h.html#a4005bb78082a40de485f947470fa5017">00097</a> <a class="code" href="error_8c.html#a4005bb78082a40de485f947470fa5017" title="look up a descriptive text by each error.">ldns_get_errorstr_by_id</a>(<a class="code" href="error_8h.html#aaa6d98f86f535cf87b83b89e91f488f9">ldns_status</a> err)
<a name="l00098"></a>00098 {
<a name="l00099"></a>00099         <a class="code" href="structldns__struct__lookup__table.html" title="A general purpose lookup table.">ldns_lookup_table</a> *lt;
<a name="l00100"></a>00100 
<a name="l00101"></a>00101         lt = <a class="code" href="util_8c.html#a42a73e82a0f0bf3ee979190b9cf81957">ldns_lookup_by_id</a>(ldns_error_str, err);
<a name="l00102"></a>00102 
<a name="l00103"></a>00103         <span class="keywordflow">if</span> (lt) {
<a name="l00104"></a>00104                 <span class="keywordflow">return</span> lt-&gt;<a class="code" href="structldns__struct__lookup__table.html#a45da7ee10e4b7902018fba6dfae2396c">name</a>;
<a name="l00105"></a>00105         }
<a name="l00106"></a>00106         <span class="keywordflow">return</span> NULL;
<a name="l00107"></a>00107 }
</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>