This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
t
Title: lwres_config
Author:
Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
Date: 2007-06-18
Manual: BIND9
Source: ISC
Language: English
* Define some portability stuff
-----------------------------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://bugs.debian.org/507673
http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----------------------------------------------------------------
* set default formatting
-----------------------------------------------------------------
disable hyphenation
disable justification (adjust text to left margin only)
-----------------------------------------------------------------
* MAIN CONTENT STARTS HERE *
-----------------------------------------------------------------
#include <lwres/lwres.h>
\w'void lwres_conf_init('u "void lwres_conf_init(lwres_context_t *" "ctx" ");"
\w'void lwres_conf_clear('u "void lwres_conf_clear(lwres_context_t *" "ctx" ");"
\w'lwres_result_t lwres_conf_parse('u "lwres_result_t lwres_conf_parse(lwres_context_t *" "ctx" ", const char *" "filename" ");"
\w'lwres_result_t lwres_conf_print('u "lwres_result_t lwres_conf_print(lwres_context_t *" "ctx" ", FILE *" "fp" ");"
\w'lwres_conf_t * lwres_conf_get('u "lwres_conf_t * lwres_conf_get(lwres_context_t *" "ctx" ");"
lwres_conf_init() creates an empty lwres_conf_t structure for lightweight resolver context ctx.
lwres_conf_clear() frees up all the internal memory used by that lwres_conf_t structure in resolver context ctx.
lwres_conf_parse() opens the file filename and parses it to initialise the resolver context ctx\*(Aqs lwres_conf_t structure.
lwres_conf_print() prints the lwres_conf_t structure for resolver context ctx to the FILEfp.
lwres_conf_parse() returns LWRES_R_SUCCESS if it successfully read and parsed filename. It returns LWRES_R_FAILURE if filename could not be opened or contained incorrect resolver statements.
lwres_conf_print() returns LWRES_R_SUCCESS unless an error occurred when converting the network addresses to a numeric host address string. If this happens, the function returns LWRES_R_FAILURE.
stdio(3), resolver(5).
Internet Systems Consortium, Inc.
Copyright \(co 2000, 2001, 2004, 2005, 2007, 2014-2016 Internet Systems Consortium, Inc. ("ISC")