32N/A - Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") 943N/A - Copyright (C) 2000, 2001 Internet Software Consortium. 32N/A - Permission to use, copy, modify, and distribute this software for any 919N/A - purpose with or without fee is hereby granted, provided that the above 919N/A - copyright notice and this permission notice appear in all copies. 919N/A - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH 919N/A - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 919N/A - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, 919N/A - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 919N/A - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 919N/A - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 919N/A - PERFORMANCE OF THIS SOFTWARE. 32N/A>lwres_config</
TITLE 493N/ACONTENT="Modular DocBook HTML Stylesheet Version 1.79"></
HEAD >lwres_conf_init, lwres_conf_clear, lwres_conf_parse, lwres_conf_print, lwres_conf_get -- lightweight resolver configuration</
DIV>(lwres_context_t *ctx);</
CODE>(lwres_context_t *ctx);</
CODE>(lwres_context_t *ctx, const char *filename);</
CODE>(lwres_context_t *ctx, FILE *fp);</
CODE>(lwres_context_t *ctx);</
CODEstructure for lightweight resolver context
>lwres_conf_clear()</
CODEfrees up all the internal memory used by
structure in resolver context
>lwres_conf_parse()</
CODEand parses it to initialise the resolver context
>lwres_conf_print()</
CODEstructure for resolver context
>lwres_conf_parse()</
CODEif it successfully read and parsed
could not be opened or contained incorrect
>lwres_conf_print()</
CODEunless an error occurred when converting the network addresses to a
numeric host address string.
If this happens, the function returns