1 .\" Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
2 .\" Copyright (C) 2000, 2001 Internet Software Consortium.
4 .\" Permission to use, copy, modify, and/or distribute this software for any
5 .\" purpose with or without fee is hereby granted, provided that the above
6 .\" copyright notice and this permission notice appear in all copies.
8 .\" THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
9 .\" REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10 .\" AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
11 .\" INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12 .\" LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
13 .\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14 .\" PERFORMANCE OF THIS SOFTWARE.
16 .\" $Id: lwres_config.3,v 1.27 2009-07-11 01:12:46 tbox Exp $
20 .\" Title: lwres_config
22 .\" Generator: DocBook XSL Stylesheets v1.71.1 <http://docbook.sf.net/>
23 .\" Date: Jun 30, 2000
27 .TH "LWRES_CONFIG" "3" "Jun 30, 2000" "BIND9" "BIND9"
28 .\" disable hyphenation
30 .\" disable justification (adjust text to left margin only)
33 lwres_conf_init, lwres_conf_clear, lwres_conf_parse, lwres_conf_print, lwres_conf_get \- lightweight resolver configuration
36 #include <lwres/lwres.h>
39 .BI "void lwres_conf_init(lwres_context_t\ *" "ctx" ");"
41 .BI "void lwres_conf_clear(lwres_context_t\ *" "ctx" ");"
43 .BI "lwres_result_t lwres_conf_parse(lwres_context_t\ *" "ctx" ", const\ char\ *" "filename" ");"
45 .BI "lwres_result_t lwres_conf_print(lwres_context_t\ *" "ctx" ", FILE\ *" "fp" ");"
47 .BI "lwres_conf_t * lwres_conf_get(lwres_context_t\ *" "ctx" ");"
50 \fBlwres_conf_init()\fR
53 structure for lightweight resolver context
56 \fBlwres_conf_clear()\fR
57 frees up all the internal memory used by that
59 structure in resolver context
62 \fBlwres_conf_parse()\fR
65 and parses it to initialise the resolver context
70 \fBlwres_conf_print()\fR
73 structure for resolver context
80 \fBlwres_conf_parse()\fR
83 if it successfully read and parsed
84 \fIfilename\fR. It returns
88 could not be opened or contained incorrect resolver statements.
90 \fBlwres_conf_print()\fR
93 unless an error occurred when converting the network addresses to a numeric host address string. If this happens, the function returns
94 \fBLWRES_R_FAILURE\fR.
101 \fI/etc/resolv.conf\fR
103 Copyright \(co 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
105 Copyright \(co 2000, 2001 Internet Software Consortium.