1 .\" $NetBSD: lwres_config.3,v 1.5 2014/12/10 04:38:02 christos Exp $
3 .\" Copyright (C) 2004, 2005, 2007, 2014 Internet Systems Consortium, Inc. ("ISC")
4 .\" Copyright (C) 2000, 2001 Internet Software Consortium.
6 .\" Permission to use, copy, modify, and/or distribute this software for any
7 .\" purpose with or without fee is hereby granted, provided that the above
8 .\" copyright notice and this permission notice appear in all copies.
10 .\" THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
11 .\" REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
12 .\" AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
13 .\" INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
14 .\" LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
15 .\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
16 .\" PERFORMANCE OF THIS SOFTWARE.
22 .\" Title: lwres_config
24 .\" Generator: DocBook XSL Stylesheets v1.71.1 <http://docbook.sf.net/>
25 .\" Date: June 18, 2007
29 .TH "LWRES_CONFIG" "3" "June 18, 2007" "BIND9" "BIND9"
30 .\" disable hyphenation
32 .\" disable justification (adjust text to left margin only)
35 lwres_conf_init, lwres_conf_clear, lwres_conf_parse, lwres_conf_print, lwres_conf_get \- lightweight resolver configuration
38 #include <lwres/lwres.h>
41 .BI "void lwres_conf_init(lwres_context_t\ *" "ctx" ");"
43 .BI "void lwres_conf_clear(lwres_context_t\ *" "ctx" ");"
45 .BI "lwres_result_t lwres_conf_parse(lwres_context_t\ *" "ctx" ", const\ char\ *" "filename" ");"
47 .BI "lwres_result_t lwres_conf_print(lwres_context_t\ *" "ctx" ", FILE\ *" "fp" ");"
49 .BI "lwres_conf_t * lwres_conf_get(lwres_context_t\ *" "ctx" ");"
52 \fBlwres_conf_init()\fR
55 structure for lightweight resolver context
58 \fBlwres_conf_clear()\fR
59 frees up all the internal memory used by that
61 structure in resolver context
64 \fBlwres_conf_parse()\fR
67 and parses it to initialise the resolver context
72 \fBlwres_conf_print()\fR
75 structure for resolver context
82 \fBlwres_conf_parse()\fR
85 if it successfully read and parsed
86 \fIfilename\fR. It returns
90 could not be opened or contained incorrect resolver statements.
92 \fBlwres_conf_print()\fR
95 unless an error occurred when converting the network addresses to a numeric host address string. If this happens, the function returns
96 \fBLWRES_R_FAILURE\fR.
103 \fI/etc/resolv.conf\fR
105 Copyright \(co 2004, 2005, 2007, 2014 Internet Systems Consortium, Inc. ("ISC")
107 Copyright \(co 2000, 2001 Internet Software Consortium.