diff options
author | dougb <dougb@FreeBSD.org> | 2007-06-02 23:21:47 +0000 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2007-06-02 23:21:47 +0000 |
commit | 6df9693fc1899de774712d6421c2fc401db2eadd (patch) | |
tree | 6e65ba28d6d850f4d5c07cd37f26842e97b4aecf /contrib/bind9/lib/lwres/man/lwres_config.html | |
parent | fb8cb3b3a3d2367752c01dc81b68c0b7390f7760 (diff) | |
download | FreeBSD-src-6df9693fc1899de774712d6421c2fc401db2eadd.zip FreeBSD-src-6df9693fc1899de774712d6421c2fc401db2eadd.tar.gz |
Vendor import of BIND 9.4.1
Diffstat (limited to 'contrib/bind9/lib/lwres/man/lwres_config.html')
-rw-r--r-- | contrib/bind9/lib/lwres/man/lwres_config.html | 206 |
1 files changed, 81 insertions, 125 deletions
diff --git a/contrib/bind9/lib/lwres/man/lwres_config.html b/contrib/bind9/lib/lwres/man/lwres_config.html index 339a487..efa33d8 100644 --- a/contrib/bind9/lib/lwres/man/lwres_config.html +++ b/contrib/bind9/lib/lwres/man/lwres_config.html @@ -1,5 +1,5 @@ <!-- - - Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") + - Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC") - Copyright (C) 2000, 2001 Internet Software Consortium. - - Permission to use, copy, modify, and distribute this software for any @@ -14,15 +14,15 @@ - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - PERFORMANCE OF THIS SOFTWARE. --> -<!-- $Id: lwres_config.html,v 1.4.2.1.4.11 2006/06/29 13:02:31 marka Exp $ --> +<!-- $Id: lwres_config.html,v 1.5.18.17 2007/01/30 00:23:45 marka Exp $ --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>lwres_config</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.70.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.71.1"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"> -<a name="id2482688"></a><div class="titlepage"></div> +<a name="id2476275"></a><div class="titlepage"></div> <div class="refnamediv"> <h2>Name</h2> <p>lwres_conf_init, lwres_conf_clear, lwres_conf_parse, lwres_conf_print, lwres_conf_get — lightweight resolver configuration</p> @@ -31,56 +31,36 @@ <h2>Synopsis</h2> <div class="funcsynopsis"> <pre class="funcsynopsisinfo">#include <lwres/lwres.h></pre> -<table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"> -<tr> +<table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr> <td><code class="funcdef"> void <b class="fsfunc">lwres_conf_init</b>(</code></td> -<td> </td> +<td>lwres_context_t * </td> <td> -<code>)</code>;</td> -</tr> -<tr> -<td> </td> -<td> </td> -<td> -<code>)</code>;</td> -</tr> -</table> -<table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"> -<tr> +<var class="pdparam">ctx</var><code>)</code>;</td> +</tr></table> +<table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr> <td><code class="funcdef"> void <b class="fsfunc">lwres_conf_clear</b>(</code></td> -<td> </td> +<td>lwres_context_t * </td> <td> -<code>)</code>;</td> -</tr> -<tr> -<td> </td> -<td> </td> -<td> -<code>)</code>;</td> -</tr> -</table> +<var class="pdparam">ctx</var><code>)</code>;</td> +</tr></table> <table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"> <tr> <td><code class="funcdef"> lwres_result_t <b class="fsfunc">lwres_conf_parse</b>(</code></td> -<td> </td> -<td>, </td> -</tr> -<tr> -<td> </td> -<td> </td> -<td>, </td> +<td>lwres_context_t * </td> +<td> +<var class="pdparam">ctx</var>, </td> </tr> <tr> <td> </td> -<td> </td> +<td>const char * </td> <td> -<code>)</code>;</td> +<var class="pdparam">filename</var><code>)</code>;</td> </tr> </table> <table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"> @@ -88,113 +68,89 @@ lwres_result_t <td><code class="funcdef"> lwres_result_t <b class="fsfunc">lwres_conf_print</b>(</code></td> -<td> </td> -<td>, </td> -</tr> -<tr> -<td> </td> -<td> </td> -<td>, </td> +<td>lwres_context_t * </td> +<td> +<var class="pdparam">ctx</var>, </td> </tr> <tr> <td> </td> -<td> </td> +<td>FILE * </td> <td> -<code>)</code>;</td> +<var class="pdparam">fp</var><code>)</code>;</td> </tr> </table> -<table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0"> -<tr> +<table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0"><tr> <td><code class="funcdef"> lwres_conf_t * <b class="fsfunc">lwres_conf_get</b>(</code></td> -<td> </td> -<td> -<code>)</code>;</td> -</tr> -<tr> -<td> </td> -<td> </td> +<td>lwres_context_t * </td> <td> -<code>)</code>;</td> -</tr> -</table> +<var class="pdparam">ctx</var><code>)</code>;</td> +</tr></table> </div> </div> <div class="refsect1" lang="en"> -<a name="id2549475"></a><h2>DESCRIPTION</h2> -<p> -<code class="function">lwres_conf_init()</code> -creates an empty -<span class="type">lwres_conf_t</span> -structure for lightweight resolver context -<em class="parameter"><code>ctx</code></em>. -</p> -<p> -<code class="function">lwres_conf_clear()</code> -frees up all the internal memory used by -that -<span class="type">lwres_conf_t</span> -structure in resolver context -<em class="parameter"><code>ctx</code></em>. -</p> -<p> -<code class="function">lwres_conf_parse()</code> -opens the file -<em class="parameter"><code>filename</code></em> -and parses it to initialise the resolver context -<em class="parameter"><code>ctx</code></em>'s -<span class="type">lwres_conf_t</span> -structure. -</p> -<p> -<code class="function">lwres_conf_print()</code> -prints the -<span class="type">lwres_conf_t</span> -structure for resolver context -<em class="parameter"><code>ctx</code></em> -to the -<span class="type">FILE</span> -<em class="parameter"><code>fp</code></em>. -</p> +<a name="id2543441"></a><h2>DESCRIPTION</h2> +<p><code class="function">lwres_conf_init()</code> + creates an empty + <span class="type">lwres_conf_t</span> + structure for lightweight resolver context + <em class="parameter"><code>ctx</code></em>. + </p> +<p><code class="function">lwres_conf_clear()</code> + frees up all the internal memory used by + that + <span class="type">lwres_conf_t</span> + structure in resolver context + <em class="parameter"><code>ctx</code></em>. + </p> +<p><code class="function">lwres_conf_parse()</code> + opens the file + <em class="parameter"><code>filename</code></em> + and parses it to initialise the resolver context + <em class="parameter"><code>ctx</code></em>'s + <span class="type">lwres_conf_t</span> + structure. + </p> +<p><code class="function">lwres_conf_print()</code> + prints the + <span class="type">lwres_conf_t</span> + structure for resolver context + <em class="parameter"><code>ctx</code></em> + to the + <span class="type">FILE</span> + <em class="parameter"><code>fp</code></em>. + </p> </div> <div class="refsect1" lang="en"> -<a name="id2549546"></a><h2>RETURN VALUES</h2> -<p> -<code class="function">lwres_conf_parse()</code> -returns -<span class="errorcode">LWRES_R_SUCCESS</span> -if it successfully read and parsed -<em class="parameter"><code>filename</code></em>. -It returns -<span class="errorcode">LWRES_R_FAILURE</span> -if -<em class="parameter"><code>filename</code></em> -could not be opened or contained incorrect -resolver statements. -</p> -<p> -<code class="function">lwres_conf_print()</code> -returns -<span class="errorcode">LWRES_R_SUCCESS</span> -unless an error occurred when converting the network addresses to a -numeric host address string. -If this happens, the function returns -<span class="errorcode">LWRES_R_FAILURE</span>. -</p> +<a name="id2543508"></a><h2>RETURN VALUES</h2> +<p><code class="function">lwres_conf_parse()</code> + returns <span class="errorcode">LWRES_R_SUCCESS</span> + if it successfully read and parsed + <em class="parameter"><code>filename</code></em>. + It returns <span class="errorcode">LWRES_R_FAILURE</span> + if <em class="parameter"><code>filename</code></em> + could not be opened or contained incorrect + resolver statements. + </p> +<p><code class="function">lwres_conf_print()</code> + returns <span class="errorcode">LWRES_R_SUCCESS</span> + unless an error occurred when converting the network addresses to a + numeric host address string. + If this happens, the function returns + <span class="errorcode">LWRES_R_FAILURE</span>. + </p> </div> <div class="refsect1" lang="en"> -<a name="id2549586"></a><h2>SEE ALSO</h2> -<p> -<span class="citerefentry"><span class="refentrytitle">stdio</span>(3)</span>, -<span class="citerefentry"><span class="refentrytitle">resolver</span>(5)</span>. -</p> +<a name="id2543545"></a><h2>SEE ALSO</h2> +<p><span class="citerefentry"><span class="refentrytitle">stdio</span>(3)</span>, + <span class="citerefentry"><span class="refentrytitle">resolver</span>(5)</span>. + </p> </div> <div class="refsect1" lang="en"> -<a name="id2549612"></a><h2>FILES</h2> -<p> -<code class="filename">/etc/resolv.conf</code> -</p> +<a name="id2543571"></a><h2>FILES</h2> +<p><code class="filename">/etc/resolv.conf</code> + </p> </div> </div></body> </html> |