1 .\" Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
2 .\" Copyright (C) 2000, 2001 Internet Software Consortium.
4 .\" Permission to use, copy, modify, and 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.12.2.2 2004/03/15 04:45:00 marka Exp $
18 .TH "LWRES_CONFIG" "3" "Jun 30, 2000" "BIND9" ""
20 lwres_conf_init, lwres_conf_clear, lwres_conf_parse, lwres_conf_print, lwres_conf_get \- lightweight resolver configuration
22 \fB#include <lwres/lwres.h>
26 lwres_conf_init(lwres_context_t *ctx);
31 lwres_conf_clear(lwres_context_t *ctx);
36 lwres_conf_parse(lwres_context_t *ctx, const char *filename);
41 lwres_conf_print(lwres_context_t *ctx, FILE *fp);
46 lwres_conf_get(lwres_context_t *ctx);
51 \fBlwres_conf_init()\fR
54 structure for lightweight resolver context
57 \fBlwres_conf_clear()\fR
58 frees up all the internal memory used by
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
91 could not be opened or contained incorrect
94 \fBlwres_conf_print()\fR
97 unless an error occurred when converting the network addresses to a
98 numeric host address string.
99 If this happens, the function returns
107 \fI/etc/resolv.conf\fR