2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

regenerated man pages with pdated docbook2man-spec.pl;

now the function prototypes are formatted correctly
This commit is contained in:
Andreas Gustafsson
2001-04-17 18:01:53 +00:00
parent 8c3989000a
commit ebea68ec9c
17 changed files with 202 additions and 222 deletions

View File

@@ -12,9 +12,6 @@
.\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
.\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
.\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" $Id: lwres.3,v 1.11 2001/04/10 21:51:13 bwelling Exp $
.TH "LWRES" "3" "Jun 30, 2000" "BIND9" "" .TH "LWRES" "3" "Jun 30, 2000" "BIND9" ""
.SH NAME .SH NAME
lwres \- introduction to the lightweight resolver library lwres \- introduction to the lightweight resolver library

View File

@@ -12,75 +12,91 @@
.\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
.\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
.\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" $Id: lwres_buffer.3,v 1.8 2001/04/10 21:51:17 bwelling Exp $
.TH "LWRES_BUFFER" "3" "Jun 30, 2000" "BIND9" "" .TH "LWRES_BUFFER" "3" "Jun 30, 2000" "BIND9" ""
.SH NAME .SH NAME
lwres_buffer_init, lwres_buffer_invalidate, lwres_buffer_add, lwres_buffer_subtract, lwres_buffer_clear, lwres_buffer_first, lwres_buffer_forward, lwres_buffer_back, lwres_buffer_getuint8, lwres_buffer_putuint8, lwres_buffer_getuint16, lwres_buffer_putuint16, lwres_buffer_getuint32, lwres_buffer_putuint32, lwres_buffer_putmem, lwres_buffer_getmem \- lightweight resolver buffer management lwres_buffer_init, lwres_buffer_invalidate, lwres_buffer_add, lwres_buffer_subtract, lwres_buffer_clear, lwres_buffer_first, lwres_buffer_forward, lwres_buffer_back, lwres_buffer_getuint8, lwres_buffer_putuint8, lwres_buffer_getuint16, lwres_buffer_putuint16, lwres_buffer_getuint32, lwres_buffer_putuint32, lwres_buffer_putmem, lwres_buffer_getmem \- lightweight resolver buffer management
.SH SYNOPSIS .SH SYNOPSIS
\fB#include <lwres/lwbuffer.h> \fB#include <lwres/lwbuffer.h>
.sp .sp
.na
void void
lwres_buffer_init(lwres_buffer_t *b); lwres_buffer_init(lwres_buffer_t *b, void *base, unsigned int length);
(void *base); .ad
(unsigned int length);
.sp .sp
.na
void void
lwres_buffer_invalidate(lwres_buffer_t *b); lwres_buffer_invalidate(lwres_buffer_t *b);
.ad
.sp .sp
.na
void void
lwres_buffer_add(lwres_buffer_t *b); lwres_buffer_add(lwres_buffer_t *b, unsigned int n);
(unsigned int n); .ad
.sp .sp
.na
void void
lwres_buffer_subtract(lwres_buffer_t *b); lwres_buffer_subtract(lwres_buffer_t *b, unsigned int n);
(unsigned int n); .ad
.sp .sp
.na
void void
lwres_buffer_clear(lwres_buffer_t *b); lwres_buffer_clear(lwres_buffer_t *b);
.ad
.sp .sp
.na
void void
lwres_buffer_first(lwres_buffer_t *b); lwres_buffer_first(lwres_buffer_t *b);
.ad
.sp .sp
.na
void void
lwres_buffer_forward(lwres_buffer_t *b); lwres_buffer_forward(lwres_buffer_t *b, unsigned int n);
(unsigned int n); .ad
.sp .sp
.na
void void
lwres_buffer_back(lwres_buffer_t *b); lwres_buffer_back(lwres_buffer_t *b, unsigned int n);
(unsigned int n); .ad
.sp .sp
.na
lwres_uint8_t lwres_uint8_t
lwres_buffer_getuint8(lwres_buffer_t *b); lwres_buffer_getuint8(lwres_buffer_t *b);
.ad
.sp .sp
.na
void void
lwres_buffer_putuint8(lwres_buffer_t *b); lwres_buffer_putuint8(lwres_buffer_t *b, lwres_uint8_t val);
(lwres_uint8_t val); .ad
.sp .sp
.na
lwres_uint16_t lwres_uint16_t
lwres_buffer_getuint16(lwres_buffer_t *b); lwres_buffer_getuint16(lwres_buffer_t *b);
.ad
.sp .sp
.na
void void
lwres_buffer_putuint16(lwres_buffer_t *b); lwres_buffer_putuint16(lwres_buffer_t *b, lwres_uint16_t val);
(lwres_uint16_t val); .ad
.sp .sp
.na
lwres_uint32_t lwres_uint32_t
lwres_buffer_getuint32(lwres_buffer_t *b); lwres_buffer_getuint32(lwres_buffer_t *b);
.ad
.sp .sp
.na
void void
lwres_buffer_putuint32(lwres_buffer_t *b); lwres_buffer_putuint32(lwres_buffer_t *b, lwres_uint32_t val);
(lwres_uint32_t val); .ad
.sp .sp
.na
void void
lwres_buffer_putmem(lwres_buffer_t *b); lwres_buffer_putmem(lwres_buffer_t *b, const unsigned char *base, unsigned int length);
(const unsigned char *base); .ad
(unsigned int length);
.sp .sp
.na
void void
lwres_buffer_getmem(lwres_buffer_t *b); lwres_buffer_getmem(lwres_buffer_t *b, unsigned char *base, unsigned int length);
(unsigned char *base); .ad
(unsigned int length);
\fR.SH "DESCRIPTION" \fR.SH "DESCRIPTION"
.PP .PP
These functions provide bounds checked access to a region of memory These functions provide bounds checked access to a region of memory

View File

@@ -12,31 +12,36 @@
.\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
.\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
.\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" $Id: lwres_config.3,v 1.8 2001/04/10 21:51:20 bwelling Exp $
.TH "LWRES_CONFIG" "3" "Jun 30, 2000" "BIND9" "" .TH "LWRES_CONFIG" "3" "Jun 30, 2000" "BIND9" ""
.SH NAME .SH NAME
lwres_conf_init, lwres_conf_clear, lwres_conf_parse, lwres_conf_print, lwres_conf_get \- lightweight resolver configuration lwres_conf_init, lwres_conf_clear, lwres_conf_parse, lwres_conf_print, lwres_conf_get \- lightweight resolver configuration
.SH SYNOPSIS .SH SYNOPSIS
\fB#include <lwres/lwres.h> \fB#include <lwres/lwres.h>
.sp .sp
.na
void void
lwres_conf_init(lwres_context_t *ctx); lwres_conf_init(lwres_context_t *ctx);
.ad
.sp .sp
.na
void void
lwres_conf_clear(lwres_context_t *ctx); lwres_conf_clear(lwres_context_t *ctx);
.ad
.sp .sp
.na
lwres_result_t lwres_result_t
lwres_conf_parse(lwres_context_t *ctx); lwres_conf_parse(lwres_context_t *ctx, const char *filename);
(const char *filename); .ad
.sp .sp
.na
lwres_result_t lwres_result_t
lwres_conf_print(lwres_context_t *ctx); lwres_conf_print(lwres_context_t *ctx, FILE *fp);
(FILE *fp); .ad
.sp .sp
.na
lwres_conf_t * lwres_conf_t *
lwres_conf_get(lwres_context_t *ctx); lwres_conf_get(lwres_context_t *ctx);
.ad
\fR.SH "DESCRIPTION" \fR.SH "DESCRIPTION"
.PP .PP
\fBlwres_conf_init()\fR \fBlwres_conf_init()\fR

View File

@@ -12,47 +12,46 @@
.\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
.\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
.\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" $Id: lwres_context.3,v 1.8 2001/04/10 21:51:24 bwelling Exp $
.TH "LWRES_CONTEXT" "3" "Jun 30, 2000" "BIND9" "" .TH "LWRES_CONTEXT" "3" "Jun 30, 2000" "BIND9" ""
.SH NAME .SH NAME
lwres_context_create, lwres_context_destroy, lwres_context_nextserial, lwres_context_initserial, lwres_context_freemem, lwres_context_allocmem, lwres_context_sendrecv \- lightweight resolver context management lwres_context_create, lwres_context_destroy, lwres_context_nextserial, lwres_context_initserial, lwres_context_freemem, lwres_context_allocmem, lwres_context_sendrecv \- lightweight resolver context management
.SH SYNOPSIS .SH SYNOPSIS
\fB#include <lwres/lwres.h> \fB#include <lwres/lwres.h>
.sp .sp
.na
lwres_result_t lwres_result_t
lwres_context_create(lwres_context_t **contextp); lwres_context_create(lwres_context_t **contextp, void *arg, lwres_malloc_t malloc_function, lwres_free_t free_function);
(void *arg); .ad
(lwres_malloc_t malloc_function);
(lwres_free_t free_function);
.sp .sp
.na
lwres_result_t lwres_result_t
lwres_context_destroy(lwres_context_t **contextp); lwres_context_destroy(lwres_context_t **contextp);
.ad
.sp .sp
.na
void void
lwres_context_initserial(lwres_context_t *ctx); lwres_context_initserial(lwres_context_t *ctx, lwres_uint32_t serial);
(lwres_uint32_t serial); .ad
.sp .sp
.na
lwres_uint32_t lwres_uint32_t
lwres_context_nextserial(lwres_context_t *ctx); lwres_context_nextserial(lwres_context_t *ctx);
.ad
.sp .sp
.na
void void
lwres_context_freemem(lwres_context_t *ctx); lwres_context_freemem(lwres_context_t *ctx, void *mem, size_t len);
(void *mem); .ad
(size_t len);
.sp .sp
.na
void void
lwres_context_allocmem(lwres_context_t *ctx); lwres_context_allocmem(lwres_context_t *ctx, size_t len);
(size_t len); .ad
.sp .sp
.na
void * void *
lwres_context_sendrecv(lwres_context_t *ctx); lwres_context_sendrecv(lwres_context_t *ctx, void *sendbase, int sendlen, void *recvbase, int recvlen, int *recvd_len);
(void *sendbase); .ad
(int sendlen);
(void *recvbase);
(int recvlen);
(int *recvd_len);
\fR.SH "DESCRIPTION" \fR.SH "DESCRIPTION"
.PP .PP
\fBlwres_context_create()\fR \fBlwres_context_create()\fR

View File

@@ -12,46 +12,41 @@
.\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
.\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
.\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" $Id: lwres_gabn.3,v 1.8 2001/04/10 21:51:28 bwelling Exp $
.TH "LWRES_GABN" "3" "Jun 30, 2000" "BIND9" "" .TH "LWRES_GABN" "3" "Jun 30, 2000" "BIND9" ""
.SH NAME .SH NAME
lwres_gabnrequest_render, lwres_gabnresponse_render, lwres_gabnrequest_parse, lwres_gabnresponse_parse, lwres_gabnresponse_free, lwres_gabnrequest_free \- lightweight resolver getaddrbyname message handling lwres_gabnrequest_render, lwres_gabnresponse_render, lwres_gabnrequest_parse, lwres_gabnresponse_parse, lwres_gabnresponse_free, lwres_gabnrequest_free \- lightweight resolver getaddrbyname message handling
.SH SYNOPSIS .SH SYNOPSIS
\fB#include <lwres/lwres.h> \fB#include <lwres/lwres.h>
.sp .sp
.na
lwres_result_t lwres_result_t
lwres_gabnrequest_render(lwres_context_t *ctx); lwres_gabnrequest_render(lwres_context_t *ctx, lwres_gabnrequest_t *req, lwres_lwpacket_t *pkt, lwres_buffer_t *b);
(lwres_gabnrequest_t *req); .ad
(lwres_lwpacket_t *pkt);
(lwres_buffer_t *b);
.sp .sp
.na
lwres_result_t lwres_result_t
lwres_gabnresponse_render(lwres_context_t *ctx); lwres_gabnresponse_render(lwres_context_t *ctx, lwres_gabnresponse_t *req, lwres_lwpacket_t *pkt, lwres_buffer_t *b);
(lwres_gabnresponse_t *req); .ad
(lwres_lwpacket_t *pkt);
(lwres_buffer_t *b);
.sp .sp
.na
lwres_result_t lwres_result_t
lwres_gabnrequest_parse(lwres_context_t *ctx); lwres_gabnrequest_parse(lwres_context_t *ctx, lwres_buffer_t *b, lwres_lwpacket_t *pkt, lwres_gabnrequest_t **structp);
(lwres_buffer_t *b); .ad
(lwres_lwpacket_t *pkt);
(lwres_gabnrequest_t **structp);
.sp .sp
.na
lwres_result_t lwres_result_t
lwres_gabnresponse_parse(lwres_context_t *ctx); lwres_gabnresponse_parse(lwres_context_t *ctx, lwres_buffer_t *b, lwres_lwpacket_t *pkt, lwres_gabnresponse_t **structp);
(lwres_buffer_t *b); .ad
(lwres_lwpacket_t *pkt);
(lwres_gabnresponse_t **structp);
.sp .sp
.na
void void
lwres_gabnresponse_free(lwres_context_t *ctx); lwres_gabnresponse_free(lwres_context_t *ctx, lwres_gabnresponse_t **structp);
(lwres_gabnresponse_t **structp); .ad
.sp .sp
.na
void void
lwres_gabnrequest_free(lwres_context_t *ctx); lwres_gabnrequest_free(lwres_context_t *ctx, lwres_gabnrequest_t **structp);
(lwres_gabnrequest_t **structp); .ad
\fR.SH "DESCRIPTION" \fR.SH "DESCRIPTION"
.PP .PP
These are low-level routines for creating and parsing These are low-level routines for creating and parsing

View File

@@ -12,17 +12,16 @@
.\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
.\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
.\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" $Id: lwres_gai_strerror.3,v 1.8 2001/04/10 21:51:31 bwelling Exp $
.TH "LWRES_GAI_STRERROR" "3" "Jun 30, 2000" "BIND9" "" .TH "LWRES_GAI_STRERROR" "3" "Jun 30, 2000" "BIND9" ""
.SH NAME .SH NAME
gai_strerror \- print suitable error string gai_strerror \- print suitable error string
.SH SYNOPSIS .SH SYNOPSIS
\fB#include <lwres/netdb.h> \fB#include <lwres/netdb.h>
.sp .sp
.na
char * char *
gai_strerror(int ecode); gai_strerror(int ecode);
.ad
\fR.SH "DESCRIPTION" \fR.SH "DESCRIPTION"
.PP .PP
\fBlwres_gai_strerror()\fR \fBlwres_gai_strerror()\fR

View File

@@ -12,23 +12,21 @@
.\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
.\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
.\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" $Id: lwres_getaddrinfo.3,v 1.10 2001/04/10 21:51:34 bwelling Exp $
.TH "LWRES_GETADDRINFO" "3" "Jun 30, 2000" "BIND9" "" .TH "LWRES_GETADDRINFO" "3" "Jun 30, 2000" "BIND9" ""
.SH NAME .SH NAME
lwres_getaddrinfo, lwres_freeaddrinfo \- socket address structure to host and service name lwres_getaddrinfo, lwres_freeaddrinfo \- socket address structure to host and service name
.SH SYNOPSIS .SH SYNOPSIS
\fB#include <lwres/netdb.h> \fB#include <lwres/netdb.h>
.sp .sp
.na
int int
lwres_getaddrinfo(const char *hostname); lwres_getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res);
(const char *servname); .ad
(const struct addrinfo *hints);
(struct addrinfo **res);
.sp .sp
.na
void void
lwres_freeaddrinfo(struct addrinfo *ai); lwres_freeaddrinfo(struct addrinfo *ai);
.ad
\fR.PP \fR.PP
If the operating system does not provide a If the operating system does not provide a
\fBstruct addrinfo\fR, \fBstruct addrinfo\fR,

View File

@@ -12,63 +12,66 @@
.\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
.\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
.\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" $Id: lwres_gethostent.3,v 1.9 2001/04/10 21:51:39 bwelling Exp $
.TH "LWRES_GETHOSTENT" "3" "Jun 30, 2000" "BIND9" "" .TH "LWRES_GETHOSTENT" "3" "Jun 30, 2000" "BIND9" ""
.SH NAME .SH NAME
lwres_gethostbyname, lwres_gethostbyname2, lwres_gethostbyaddr, lwres_gethostent, lwres_sethostent, lwres_endhostent, lwres_gethostbyname_r, lwres_gethostbyaddr_r, lwres_gethostent_r, lwres_sethostent_r, lwres_endhostent_r \- lightweight resolver get network host entry lwres_gethostbyname, lwres_gethostbyname2, lwres_gethostbyaddr, lwres_gethostent, lwres_sethostent, lwres_endhostent, lwres_gethostbyname_r, lwres_gethostbyaddr_r, lwres_gethostent_r, lwres_sethostent_r, lwres_endhostent_r \- lightweight resolver get network host entry
.SH SYNOPSIS .SH SYNOPSIS
\fB#include <lwres/netdb.h> \fB#include <lwres/netdb.h>
.sp .sp
.na
struct hostent * struct hostent *
lwres_gethostbyname(const char *name); lwres_gethostbyname(const char *name);
.ad
.sp .sp
.na
struct hostent * struct hostent *
lwres_gethostbyname2(const char *name); lwres_gethostbyname2(const char *name, int af);
(int af); .ad
.sp .sp
.na
struct hostent * struct hostent *
lwres_gethostbyaddr(const char *addr); lwres_gethostbyaddr(const char *addr, int len, int type);
(int len); .ad
(int type);
.sp .sp
.na
struct hostent * struct hostent *
lwres_gethostent(void); lwres_gethostent(void);
.ad
.sp .sp
.na
void void
lwres_sethostent(int stayopen); lwres_sethostent(int stayopen);
.ad
.sp .sp
.na
void void
lwres_endhostent(void); lwres_endhostent(void);
.ad
.sp .sp
.na
struct hostent * struct hostent *
lwres_gethostbyname_r(const char *name); lwres_gethostbyname_r(const char *name, struct hostent *resbuf, char *buf, int buflen, int *error);
(struct hostent *resbuf); .ad
(char *buf);
(int buflen);
(int *error);
.sp .sp
.na
struct hostent * struct hostent *
lwres_gethostbyaddr_r(const char *addr); lwres_gethostbyaddr_r(const char *addr, int len, int type, struct hostent *resbuf, char *buf, int buflen, int *error);
(int len); .ad
(int type);
(struct hostent *resbuf);
(char *buf);
(int buflen);
(int *error);
.sp .sp
.na
struct hostent * struct hostent *
lwres_gethostent_r(struct hostent *resbuf); lwres_gethostent_r(struct hostent *resbuf, char *buf, int buflen, int *error);
(char *buf); .ad
(int buflen);
(int *error);
.sp .sp
.na
void void
lwres_sethostent_r(int stayopen); lwres_sethostent_r(int stayopen);
.ad
.sp .sp
.na
void void
lwres_endhostent_r(void); lwres_endhostent_r(void);
.ad
\fR.SH "DESCRIPTION" \fR.SH "DESCRIPTION"
.PP .PP
These functions provide hostname-to-address and These functions provide hostname-to-address and

View File

@@ -12,29 +12,26 @@
.\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
.\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
.\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" $Id: lwres_getipnode.3,v 1.8 2001/04/10 21:51:42 bwelling Exp $
.TH "LWRES_GETIPNODE" "3" "Jun 30, 2000" "BIND9" "" .TH "LWRES_GETIPNODE" "3" "Jun 30, 2000" "BIND9" ""
.SH NAME .SH NAME
lwres_getipnodebyname, lwres_getipnodebyaddr, lwres_freehostent \- lightweight resolver nodename / address translation API lwres_getipnodebyname, lwres_getipnodebyaddr, lwres_freehostent \- lightweight resolver nodename / address translation API
.SH SYNOPSIS .SH SYNOPSIS
\fB#include <lwres/netdb.h> \fB#include <lwres/netdb.h>
.sp .sp
.na
struct hostent * struct hostent *
lwres_getipnodebyname(const char *name); lwres_getipnodebyname(const char *name, int af, int flags, int *error_num);
(int af); .ad
(int flags);
(int *error_num);
.sp .sp
.na
struct hostent * struct hostent *
lwres_getipnodebyaddr(const void *src); lwres_getipnodebyaddr(const void *src, size_t len, int af, int *error_num);
(size_t len); .ad
(int af);
(int *error_num);
.sp .sp
.na
void void
lwres_freehostent(struct hostent *he); lwres_freehostent(struct hostent *he);
.ad
\fR.SH "DESCRIPTION" \fR.SH "DESCRIPTION"
.PP .PP
These functions perform thread safe, protocol independent These functions perform thread safe, protocol independent

View File

@@ -12,23 +12,16 @@
.\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
.\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
.\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" $Id: lwres_getnameinfo.3,v 1.10 2001/04/10 21:51:45 bwelling Exp $
.TH "LWRES_GETNAMEINFO" "3" "Jun 30, 2000" "BIND9" "" .TH "LWRES_GETNAMEINFO" "3" "Jun 30, 2000" "BIND9" ""
.SH NAME .SH NAME
lwres_getnameinfo \- lightweight resolver socket address structure to hostname and service name lwres_getnameinfo \- lightweight resolver socket address structure to hostname and service name
.SH SYNOPSIS .SH SYNOPSIS
\fB#include <lwres/netdb.h> \fB#include <lwres/netdb.h>
.sp .sp
.na
int int
lwres_getnameinfo(const struct sockaddr *sa); lwres_getnameinfo(const struct sockaddr *sa, size_t salen, char *host, size_t hostlen, char *serv, size_t servlen, int flags);
(size_t salen); .ad
(char *host);
(size_t hostlen);
(char *serv);
(size_t servlen);
(int flags);
\fR.SH "DESCRIPTION" \fR.SH "DESCRIPTION"
.PP .PP
This function is equivalent to the This function is equivalent to the

View File

@@ -12,24 +12,21 @@
.\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
.\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
.\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" $Id: lwres_getrrsetbyname.3,v 1.6 2001/04/10 21:51:49 bwelling Exp $
.TH "LWRES_GETRRSETBYNAME" "3" "Oct 18, 2000" "BIND9" "" .TH "LWRES_GETRRSETBYNAME" "3" "Oct 18, 2000" "BIND9" ""
.SH NAME .SH NAME
lwres_getrrsetbyname, lwres_freerrset \- retrieve DNS records lwres_getrrsetbyname, lwres_freerrset \- retrieve DNS records
.SH SYNOPSIS .SH SYNOPSIS
\fB#include <lwres/netdb.h> \fB#include <lwres/netdb.h>
.sp .sp
.na
int int
lwres_getrrsetbyname(const char *hostname); lwres_getrrsetbyname(const char *hostname, unsigned int rdclass, unsigned int rdtype, unsigned int flags, struct rrsetinfo **res);
(unsigned int rdclass); .ad
(unsigned int rdtype);
(unsigned int flags);
(struct rrsetinfo **res);
.sp .sp
.na
void void
lwres_freerrset(struct rrsetinfo *rrset); lwres_freerrset(struct rrsetinfo *rrset);
.ad
\fR.PP \fR.PP
The following structures are used: The following structures are used:
.sp .sp

View File

@@ -12,46 +12,41 @@
.\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
.\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
.\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" $Id: lwres_gnba.3,v 1.8 2001/04/10 21:51:52 bwelling Exp $
.TH "LWRES_GNBA" "3" "Jun 30, 2000" "BIND9" "" .TH "LWRES_GNBA" "3" "Jun 30, 2000" "BIND9" ""
.SH NAME .SH NAME
lwres_gnbarequest_render, lwres_gnbaresponse_render, lwres_gnbarequest_parse, lwres_gnbaresponse_parse, lwres_gnbaresponse_free, lwres_gnbarequest_free \- lightweight resolver getnamebyaddress message handling lwres_gnbarequest_render, lwres_gnbaresponse_render, lwres_gnbarequest_parse, lwres_gnbaresponse_parse, lwres_gnbaresponse_free, lwres_gnbarequest_free \- lightweight resolver getnamebyaddress message handling
.SH SYNOPSIS .SH SYNOPSIS
\fB#include <lwres/lwres.h> \fB#include <lwres/lwres.h>
.sp .sp
.na
lwres_result_t lwres_result_t
lwres_gnbarequest_render(lwres_context_t *\fIctx\fB); lwres_gnbarequest_render(lwres_context_t *\fIctx\fB, lwres_gnbarequest_t *\fIreq\fB, lwres_lwpacket_t *\fIpkt\fB, lwres_buffer_t *\fIb\fB);
(lwres_gnbarequest_t *\fIreq\fB); .ad
(lwres_lwpacket_t *\fIpkt\fB);
(lwres_buffer_t *\fIb\fB);
.sp .sp
.na
lwres_result_t lwres_result_t
lwres_gnbaresponse_render(lwres_context_t *ctx); lwres_gnbaresponse_render(lwres_context_t *ctx, lwres_gnbaresponse_t *req, lwres_lwpacket_t *pkt, lwres_buffer_t *b);
(lwres_gnbaresponse_t *req); .ad
(lwres_lwpacket_t *pkt);
(lwres_buffer_t *b);
.sp .sp
.na
lwres_result_t lwres_result_t
lwres_gnbarequest_parse(lwres_context_t *ctx); lwres_gnbarequest_parse(lwres_context_t *ctx, lwres_buffer_t *b, lwres_lwpacket_t *pkt, lwres_gnbarequest_t **structp);
(lwres_buffer_t *b); .ad
(lwres_lwpacket_t *pkt);
(lwres_gnbarequest_t **structp);
.sp .sp
.na
lwres_result_t lwres_result_t
lwres_gnbaresponse_parse(lwres_context_t *ctx); lwres_gnbaresponse_parse(lwres_context_t *ctx, lwres_buffer_t *b, lwres_lwpacket_t *pkt, lwres_gnbaresponse_t **structp);
(lwres_buffer_t *b); .ad
(lwres_lwpacket_t *pkt);
(lwres_gnbaresponse_t **structp);
.sp .sp
.na
void void
lwres_gnbaresponse_free(lwres_context_t *ctx); lwres_gnbaresponse_free(lwres_context_t *ctx, lwres_gnbaresponse_t **structp);
(lwres_gnbaresponse_t **structp); .ad
.sp .sp
.na
void void
lwres_gnbarequest_free(lwres_context_t *ctx); lwres_gnbarequest_free(lwres_context_t *ctx, lwres_gnbarequest_t **structp);
(lwres_gnbarequest_t **structp); .ad
\fR.SH "DESCRIPTION" \fR.SH "DESCRIPTION"
.PP .PP
These are low-level routines for creating and parsing These are low-level routines for creating and parsing

View File

@@ -12,20 +12,21 @@
.\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
.\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
.\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" $Id: lwres_hstrerror.3,v 1.8 2001/04/10 21:51:56 bwelling Exp $
.TH "LWRES_HSTRERROR" "3" "Jun 30, 2000" "BIND9" "" .TH "LWRES_HSTRERROR" "3" "Jun 30, 2000" "BIND9" ""
.SH NAME .SH NAME
lwres_herror, lwres_hstrerror \- lightweight resolver error message generation lwres_herror, lwres_hstrerror \- lightweight resolver error message generation
.SH SYNOPSIS .SH SYNOPSIS
\fB#include <lwres/netdb.h> \fB#include <lwres/netdb.h>
.sp .sp
.na
void void
lwres_herror(const char *s); lwres_herror(const char *s);
.ad
.sp .sp
.na
const char * const char *
lwres_hstrerror(int err); lwres_hstrerror(int err);
.ad
\fR.SH "DESCRIPTION" \fR.SH "DESCRIPTION"
.PP .PP
\fBlwres_herror()\fR \fBlwres_herror()\fR

View File

@@ -12,20 +12,16 @@
.\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
.\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
.\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" $Id: lwres_inetntop.3,v 1.7 2001/04/10 21:51:59 bwelling Exp $
.TH "LWRES_INETNTOP" "3" "Jun 30, 2000" "BIND9" "" .TH "LWRES_INETNTOP" "3" "Jun 30, 2000" "BIND9" ""
.SH NAME .SH NAME
lwres_net_ntop \- lightweight resolver IP address presentation lwres_net_ntop \- lightweight resolver IP address presentation
.SH SYNOPSIS .SH SYNOPSIS
\fB#include <lwres/net.h> \fB#include <lwres/net.h>
.sp .sp
.na
const char * const char *
lwres_net_ntop(int af); lwres_net_ntop(int af, const void *src, char *dst, size_t size);
(const void *src); .ad
(char *dst);
(size_t size);
\fR.SH "DESCRIPTION" \fR.SH "DESCRIPTION"
.PP .PP
\fBlwres_net_ntop()\fR \fBlwres_net_ntop()\fR

View File

@@ -12,46 +12,41 @@
.\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
.\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
.\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" $Id: lwres_noop.3,v 1.8 2001/04/10 21:52:02 bwelling Exp $
.TH "LWRES_NOOP" "3" "Jun 30, 2000" "BIND9" "" .TH "LWRES_NOOP" "3" "Jun 30, 2000" "BIND9" ""
.SH NAME .SH NAME
lwres_nooprequest_render, lwres_noopresponse_render, lwres_nooprequest_parse, lwres_noopresponse_parse, lwres_noopresponse_free, lwres_nooprequest_free \- lightweight resolver no-op message handling lwres_nooprequest_render, lwres_noopresponse_render, lwres_nooprequest_parse, lwres_noopresponse_parse, lwres_noopresponse_free, lwres_nooprequest_free \- lightweight resolver no-op message handling
.SH SYNOPSIS .SH SYNOPSIS
\fB#include <lwres/lwres.h> \fB#include <lwres/lwres.h>
.sp .sp
.na
lwres_result_t lwres_result_t
lwres_nooprequest_render(lwres_context_t *ctx); lwres_nooprequest_render(lwres_context_t *ctx, lwres_nooprequest_t *req, lwres_lwpacket_t *pkt, lwres_buffer_t *b);
(lwres_nooprequest_t *req); .ad
(lwres_lwpacket_t *pkt);
(lwres_buffer_t *b);
.sp .sp
.na
lwres_result_t lwres_result_t
lwres_noopresponse_render(lwres_context_t *ctx); lwres_noopresponse_render(lwres_context_t *ctx, lwres_noopresponse_t *req, lwres_lwpacket_t *pkt, lwres_buffer_t *b);
(lwres_noopresponse_t *req); .ad
(lwres_lwpacket_t *pkt);
(lwres_buffer_t *b);
.sp .sp
.na
lwres_result_t lwres_result_t
lwres_nooprequest_parse(lwres_context_t *ctx); lwres_nooprequest_parse(lwres_context_t *ctx, lwres_buffer_t *b, lwres_lwpacket_t *pkt, lwres_nooprequest_t **structp);
(lwres_buffer_t *b); .ad
(lwres_lwpacket_t *pkt);
(lwres_nooprequest_t **structp);
.sp .sp
.na
lwres_result_t lwres_result_t
lwres_noopresponse_parse(lwres_context_t *ctx); lwres_noopresponse_parse(lwres_context_t *ctx, lwres_buffer_t *b, lwres_lwpacket_t *pkt, lwres_noopresponse_t **structp);
(lwres_buffer_t *b); .ad
(lwres_lwpacket_t *pkt);
(lwres_noopresponse_t **structp);
.sp .sp
.na
void void
lwres_noopresponse_free(lwres_context_t *ctx); lwres_noopresponse_free(lwres_context_t *ctx, lwres_noopresponse_t **structp);
(lwres_noopresponse_t **structp); .ad
.sp .sp
.na
void void
lwres_nooprequest_free(lwres_context_t *ctx); lwres_nooprequest_free(lwres_context_t *ctx, lwres_nooprequest_t **structp);
(lwres_nooprequest_t **structp); .ad
\fR.SH "DESCRIPTION" \fR.SH "DESCRIPTION"
.PP .PP
These are low-level routines for creating and parsing These are low-level routines for creating and parsing

View File

@@ -12,22 +12,21 @@
.\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
.\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
.\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" $Id: lwres_packet.3,v 1.8 2001/04/10 21:52:06 bwelling Exp $
.TH "LWRES_PACKET" "3" "Jun 30, 2000" "BIND9" "" .TH "LWRES_PACKET" "3" "Jun 30, 2000" "BIND9" ""
.SH NAME .SH NAME
lwres_lwpacket_renderheader, lwres_lwpacket_parseheader \- lightweight resolver packet handling functions lwres_lwpacket_renderheader, lwres_lwpacket_parseheader \- lightweight resolver packet handling functions
.SH SYNOPSIS .SH SYNOPSIS
\fB#include <lwres/lwbuffer.h>#include <lwres/lwpacket.h>#include <lwres/result.h> \fB#include <lwres/lwbuffer.h>#include <lwres/lwpacket.h>#include <lwres/result.h>
.sp .sp
.na
lwres_result_t lwres_result_t
lwres_lwpacket_renderheader(lwres_buffer_t *b); lwres_lwpacket_renderheader(lwres_buffer_t *b, lwres_lwpacket_t *pkt);
(lwres_lwpacket_t *pkt); .ad
.sp .sp
.na
lwres_result_t lwres_result_t
lwres_lwpacket_parseheader(lwres_buffer_t *b); lwres_lwpacket_parseheader(lwres_buffer_t *b, lwres_lwpacket_t *pkt);
(lwres_lwpacket_t *pkt); .ad
\fR.SH "DESCRIPTION" \fR.SH "DESCRIPTION"
.PP .PP
These functions rely on a These functions rely on a

View File

@@ -12,36 +12,31 @@
.\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
.\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
.\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" $Id: lwres_resutil.3,v 1.7 2001/04/10 21:52:09 bwelling Exp $
.TH "LWRES_RESUTIL" "3" "Jun 30, 2000" "BIND9" "" .TH "LWRES_RESUTIL" "3" "Jun 30, 2000" "BIND9" ""
.SH NAME .SH NAME
lwres_string_parse, lwres_addr_parse, lwres_getaddrsbyname, lwres_getnamebyaddr \- lightweight resolver utility functions lwres_string_parse, lwres_addr_parse, lwres_getaddrsbyname, lwres_getnamebyaddr \- lightweight resolver utility functions
.SH SYNOPSIS .SH SYNOPSIS
\fB#include <lwres/lwres.h> \fB#include <lwres/lwres.h>
.sp .sp
.na
lwres_result_t lwres_result_t
lwres_string_parse(lwres_buffer_t *b); lwres_string_parse(lwres_buffer_t *b, char **c, lwres_uint16_t *len);
(char **c); .ad
(lwres_uint16_t *len);
.sp .sp
.na
lwres_result_t lwres_result_t
lwres_addr_parse(lwres_buffer_t *b); lwres_addr_parse(lwres_buffer_t *b, lwres_addr_t *addr);
(lwres_addr_t *addr); .ad
.sp .sp
.na
lwres_result_t lwres_result_t
lwres_getaddrsbyname(lwres_context_t *ctx); lwres_getaddrsbyname(lwres_context_t *ctx, const char *name, lwres_uint32_t addrtypes, lwres_gabnresponse_t **structp);
(const char *name); .ad
(lwres_uint32_t addrtypes);
(lwres_gabnresponse_t **structp);
.sp .sp
.na
lwres_result_t lwres_result_t
lwres_getnamebyaddr(lwres_context_t *ctx); lwres_getnamebyaddr(lwres_context_t *ctx, lwres_uint32_t addrtype, lwres_uint16_t addrlen, const unsigned char *addr, lwres_gnbaresponse_t **structp);
(lwres_uint32_t addrtype); .ad
(lwres_uint16_t addrlen);
(const unsigned char *addr);
(lwres_gnbaresponse_t **structp);
\fR.SH "DESCRIPTION" \fR.SH "DESCRIPTION"
.PP .PP
\fBlwres_string_parse()\fR \fBlwres_string_parse()\fR