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 INTERNET SOFTWARE CONSORTIUM
9 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
10 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
11 .\" INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
12 .\" INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
13 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
14 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
15 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 .TH "LWRES_CONFIG" "3" "Jun 30, 2000" "BIND9" ""
19 lwres_conf_init, lwres_conf_clear, lwres_conf_parse, lwres_conf_print, lwres_conf_get \- lightweight resolver configuration
21 \fB#include <lwres/lwres.h>
25 lwres_conf_init(lwres_context_t *ctx);
30 lwres_conf_clear(lwres_context_t *ctx);
35 lwres_conf_parse(lwres_context_t *ctx, const char *filename);
40 lwres_conf_print(lwres_context_t *ctx, FILE *fp);
45 lwres_conf_get(lwres_context_t *ctx);
49 \fBlwres_conf_init()\fR
52 structure for lightweight resolver context
55 \fBlwres_conf_clear()\fR
56 frees up all the internal memory used by
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
89 could not be opened or contained incorrect
92 \fBlwres_conf_print()\fR
95 unless an error occurred when converting the network addresses to a
96 numeric host address string.
97 If this happens, the function returns
105 \fI/etc/resolv.conf\fR