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.
23 CONTENT=
"Modular DocBook HTML Stylesheet Version 1.61
44 >lwres_conf_init, lwres_conf_clear, lwres_conf_parse, lwres_conf_print, lwres_conf_get
--
lightweight resolver configuration
</DIV
46 CLASS=
"REFSYNOPSISDIV"
60 CLASS=
"FUNCSYNOPSISINFO"
61 >#include
<lwres/lwres.h
></PRE
68 >(lwres_context_t *ctx);
</CODE
75 lwres_conf_clear
</CODE
76 >(lwres_context_t *ctx);
</CODE
83 lwres_conf_parse
</CODE
84 >(lwres_context_t *ctx, const char *filename);
</CODE
91 lwres_conf_print
</CODE
92 >(lwres_context_t *ctx, FILE *fp);
</CODE
100 >(lwres_context_t *ctx);
</CODE
116 >lwres_conf_init()
</TT
123 structure for lightweight resolver context
133 >lwres_conf_clear()
</TT
135 frees up all the internal memory used by
141 structure in resolver context
151 >lwres_conf_parse()
</TT
160 and parses it to initialise the resolver context
175 >lwres_conf_print()
</TT
182 structure for resolver context
211 >lwres_conf_parse()
</TT
216 >LWRES_R_SUCCESS
</SPAN
218 if it successfully read and parsed
228 >LWRES_R_FAILURE
</SPAN
237 could not be opened or contained incorrect
238 resolver statements.
</P
242 >lwres_conf_print()
</TT
247 >LWRES_R_SUCCESS
</SPAN
249 unless an error occurred when converting the network addresses to a
250 numeric host address string.
251 If this happens, the function returns
254 >LWRES_R_FAILURE
</SPAN
268 CLASS=
"REFENTRYTITLE"
275 CLASS=
"REFENTRYTITLE"
290 >/etc/resolv.conf
</TT