1354. [doc] lwres man pages had illegal nroff.

This commit is contained in:
Mark Andrews
2002-08-05 04:56:50 +00:00
parent da4ab545fb
commit e72d4d8929
17 changed files with 34 additions and 16 deletions

View File

@@ -1,3 +1,5 @@
1354. [doc] lwres man pages had illegal nroff.
1353. [contrib] sdb/ldap to version 0.9.
1352. [bug] dig, host, nslookup when falling back to TCP use the

View File

@@ -99,7 +99,8 @@ lwres_buffer_putmem(lwres_buffer_t *b, const unsigned char *base, unsigned int l
void
lwres_buffer_getmem(lwres_buffer_t *b, unsigned char *base, unsigned int length);
.ad
\fR.SH "DESCRIPTION"
\fR
.SH "DESCRIPTION"
.PP
These functions provide bounds checked access to a region of memory
where data is being read or written.

View File

@@ -44,7 +44,8 @@ lwres_conf_print(lwres_context_t *ctx, FILE *fp);
lwres_conf_t *
lwres_conf_get(lwres_context_t *ctx);
.ad
\fR.SH "DESCRIPTION"
\fR
.SH "DESCRIPTION"
.PP
\fBlwres_conf_init()\fR
creates an empty

View File

@@ -54,7 +54,8 @@ lwres_context_allocmem(lwres_context_t *ctx, size_t len);
void *
lwres_context_sendrecv(lwres_context_t *ctx, void *sendbase, int sendlen, void *recvbase, int recvlen, int *recvd_len);
.ad
\fR.SH "DESCRIPTION"
\fR
.SH "DESCRIPTION"
.PP
\fBlwres_context_create()\fR
creates a

View File

@@ -49,7 +49,8 @@ lwres_gabnresponse_free(lwres_context_t *ctx, lwres_gabnresponse_t **structp);
void
lwres_gabnrequest_free(lwres_context_t *ctx, lwres_gabnrequest_t **structp);
.ad
\fR.SH "DESCRIPTION"
\fR
.SH "DESCRIPTION"
.PP
These are low-level routines for creating and parsing
lightweight resolver name-to-address lookup request and

View File

@@ -24,7 +24,8 @@ gai_strerror \- print suitable error string
char *
gai_strerror(int ecode);
.ad
\fR.SH "DESCRIPTION"
\fR
.SH "DESCRIPTION"
.PP
\fBlwres_gai_strerror()\fR
returns an error message corresponding to an error code returned by

View File

@@ -29,7 +29,8 @@ lwres_getaddrinfo(const char *hostname, const char *servname, const struct addri
void
lwres_freeaddrinfo(struct addrinfo *ai);
.ad
\fR.PP
\fR
.PP
If the operating system does not provide a
\fBstruct addrinfo\fR,
the following structure is used:

View File

@@ -74,7 +74,8 @@ lwres_sethostent_r(int stayopen);
void
lwres_endhostent_r(void);
.ad
\fR.SH "DESCRIPTION"
\fR
.SH "DESCRIPTION"
.PP
These functions provide hostname-to-address and
address-to-hostname lookups by means of the lightweight resolver.

View File

@@ -34,7 +34,8 @@ lwres_getipnodebyaddr(const void *src, size_t len, int af, int *error_num);
void
lwres_freehostent(struct hostent *he);
.ad
\fR.SH "DESCRIPTION"
\fR
.SH "DESCRIPTION"
.PP
These functions perform thread safe, protocol independent
nodename-to-address and address-to-nodename

View File

@@ -24,7 +24,8 @@ lwres_getnameinfo \- lightweight resolver socket address structure to hostname a
int
lwres_getnameinfo(const struct sockaddr *sa, size_t salen, char *host, size_t hostlen, char *serv, size_t servlen, int flags);
.ad
\fR.SH "DESCRIPTION"
\fR
.SH "DESCRIPTION"
.PP
This function is equivalent to the \fBgetnameinfo\fR(3) function defined in RFC2133.
\fBlwres_getnameinfo()\fR returns the hostname for the

View File

@@ -29,7 +29,8 @@ lwres_getrrsetbyname(const char *hostname, unsigned int rdclass, unsigned int rd
void
lwres_freerrset(struct rrsetinfo *rrset);
.ad
\fR.PP
\fR
.PP
The following structures are used:
.sp
.nf

View File

@@ -49,7 +49,8 @@ lwres_gnbaresponse_free(lwres_context_t *ctx, lwres_gnbaresponse_t **structp);
void
lwres_gnbarequest_free(lwres_context_t *ctx, lwres_gnbarequest_t **structp);
.ad
\fR.SH "DESCRIPTION"
\fR
.SH "DESCRIPTION"
.PP
These are low-level routines for creating and parsing
lightweight resolver address-to-name lookup request and

View File

@@ -29,7 +29,8 @@ lwres_herror(const char *s);
const char *
lwres_hstrerror(int err);
.ad
\fR.SH "DESCRIPTION"
\fR
.SH "DESCRIPTION"
.PP
\fBlwres_herror()\fR prints the string
\fIs\fR on \fBstderr\fR followed by the string

View File

@@ -24,7 +24,8 @@ lwres_net_ntop \- lightweight resolver IP address presentation
const char *
lwres_net_ntop(int af, const void *src, char *dst, size_t size);
.ad
\fR.SH "DESCRIPTION"
\fR
.SH "DESCRIPTION"
.PP
\fBlwres_net_ntop()\fR converts an IP address of
protocol family \fIaf\fR \(em IPv4 or IPv6 \(em

View File

@@ -49,7 +49,8 @@ lwres_noopresponse_free(lwres_context_t *ctx, lwres_noopresponse_t **structp);
void
lwres_nooprequest_free(lwres_context_t *ctx, lwres_nooprequest_t **structp);
.ad
\fR.SH "DESCRIPTION"
\fR
.SH "DESCRIPTION"
.PP
These are low-level routines for creating and parsing
lightweight resolver no-op request and response messages.

View File

@@ -29,7 +29,8 @@ lwres_lwpacket_renderheader(lwres_buffer_t *b, lwres_lwpacket_t *pkt);
lwres_result_t
lwres_lwpacket_parseheader(lwres_buffer_t *b, lwres_lwpacket_t *pkt);
.ad
\fR.SH "DESCRIPTION"
\fR
.SH "DESCRIPTION"
.PP
These functions rely on a
\fBstruct lwres_lwpacket\fR

View File

@@ -39,7 +39,8 @@ lwres_getaddrsbyname(lwres_context_t *ctx, const char *name, lwres_uint32_t addr
lwres_result_t
lwres_getnamebyaddr(lwres_context_t *ctx, lwres_uint32_t addrtype, lwres_uint16_t addrlen, const unsigned char *addr, lwres_gnbaresponse_t **structp);
.ad
\fR.SH "DESCRIPTION"
\fR
.SH "DESCRIPTION"
.PP
\fBlwres_string_parse()\fR retrieves a DNS-encoded
string starting the current pointer of lightweight resolver buffer