From ebea68ec9c5f33f1a62273a65fff4e274316f359 Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Tue, 17 Apr 2001 18:01:53 +0000 Subject: [PATCH] regenerated man pages with pdated docbook2man-spec.pl; now the function prototypes are formatted correctly --- lib/lwres/man/lwres.3 | 3 -- lib/lwres/man/lwres_buffer.3 | 68 +++++++++++++++++----------- lib/lwres/man/lwres_config.3 | 19 +++++--- lib/lwres/man/lwres_context.3 | 39 ++++++++-------- lib/lwres/man/lwres_gabn.3 | 41 ++++++++--------- lib/lwres/man/lwres_gai_strerror.3 | 5 +- lib/lwres/man/lwres_getaddrinfo.3 | 12 ++--- lib/lwres/man/lwres_gethostent.3 | 51 +++++++++++---------- lib/lwres/man/lwres_getipnode.3 | 19 ++++---- lib/lwres/man/lwres_getnameinfo.3 | 13 ++---- lib/lwres/man/lwres_getrrsetbyname.3 | 13 ++---- lib/lwres/man/lwres_gnba.3 | 41 ++++++++--------- lib/lwres/man/lwres_hstrerror.3 | 7 +-- lib/lwres/man/lwres_inetntop.3 | 10 ++-- lib/lwres/man/lwres_noop.3 | 41 ++++++++--------- lib/lwres/man/lwres_packet.3 | 13 +++--- lib/lwres/man/lwres_resutil.3 | 29 +++++------- 17 files changed, 202 insertions(+), 222 deletions(-) diff --git a/lib/lwres/man/lwres.3 b/lib/lwres/man/lwres.3 index 49ae7357a1..fddcddbf40 100644 --- a/lib/lwres/man/lwres.3 +++ b/lib/lwres/man/lwres.3 @@ -12,9 +12,6 @@ .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION .\" 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" "" .SH NAME lwres \- introduction to the lightweight resolver library diff --git a/lib/lwres/man/lwres_buffer.3 b/lib/lwres/man/lwres_buffer.3 index 03920dc0ad..310d37890f 100644 --- a/lib/lwres/man/lwres_buffer.3 +++ b/lib/lwres/man/lwres_buffer.3 @@ -12,75 +12,91 @@ .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION .\" 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" "" .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 .SH SYNOPSIS \fB#include .sp +.na void -lwres_buffer_init(lwres_buffer_t *b); -(void *base); -(unsigned int length); +lwres_buffer_init(lwres_buffer_t *b, void *base, unsigned int length); +.ad .sp +.na void lwres_buffer_invalidate(lwres_buffer_t *b); +.ad .sp +.na void -lwres_buffer_add(lwres_buffer_t *b); -(unsigned int n); +lwres_buffer_add(lwres_buffer_t *b, unsigned int n); +.ad .sp +.na void -lwres_buffer_subtract(lwres_buffer_t *b); -(unsigned int n); +lwres_buffer_subtract(lwres_buffer_t *b, unsigned int n); +.ad .sp +.na void lwres_buffer_clear(lwres_buffer_t *b); +.ad .sp +.na void lwres_buffer_first(lwres_buffer_t *b); +.ad .sp +.na void -lwres_buffer_forward(lwres_buffer_t *b); -(unsigned int n); +lwres_buffer_forward(lwres_buffer_t *b, unsigned int n); +.ad .sp +.na void -lwres_buffer_back(lwres_buffer_t *b); -(unsigned int n); +lwres_buffer_back(lwres_buffer_t *b, unsigned int n); +.ad .sp +.na lwres_uint8_t lwres_buffer_getuint8(lwres_buffer_t *b); +.ad .sp +.na void -lwres_buffer_putuint8(lwres_buffer_t *b); -(lwres_uint8_t val); +lwres_buffer_putuint8(lwres_buffer_t *b, lwres_uint8_t val); +.ad .sp +.na lwres_uint16_t lwres_buffer_getuint16(lwres_buffer_t *b); +.ad .sp +.na void -lwres_buffer_putuint16(lwres_buffer_t *b); -(lwres_uint16_t val); +lwres_buffer_putuint16(lwres_buffer_t *b, lwres_uint16_t val); +.ad .sp +.na lwres_uint32_t lwres_buffer_getuint32(lwres_buffer_t *b); +.ad .sp +.na void -lwres_buffer_putuint32(lwres_buffer_t *b); -(lwres_uint32_t val); +lwres_buffer_putuint32(lwres_buffer_t *b, lwres_uint32_t val); +.ad .sp +.na void -lwres_buffer_putmem(lwres_buffer_t *b); -(const unsigned char *base); -(unsigned int length); +lwres_buffer_putmem(lwres_buffer_t *b, const unsigned char *base, unsigned int length); +.ad .sp +.na void -lwres_buffer_getmem(lwres_buffer_t *b); -(unsigned char *base); -(unsigned int length); +lwres_buffer_getmem(lwres_buffer_t *b, unsigned char *base, unsigned int length); +.ad \fR.SH "DESCRIPTION" .PP These functions provide bounds checked access to a region of memory diff --git a/lib/lwres/man/lwres_config.3 b/lib/lwres/man/lwres_config.3 index 4f8eb666c2..d388187552 100644 --- a/lib/lwres/man/lwres_config.3 +++ b/lib/lwres/man/lwres_config.3 @@ -12,31 +12,36 @@ .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION .\" 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" "" .SH NAME lwres_conf_init, lwres_conf_clear, lwres_conf_parse, lwres_conf_print, lwres_conf_get \- lightweight resolver configuration .SH SYNOPSIS \fB#include .sp +.na void lwres_conf_init(lwres_context_t *ctx); +.ad .sp +.na void lwres_conf_clear(lwres_context_t *ctx); +.ad .sp +.na lwres_result_t -lwres_conf_parse(lwres_context_t *ctx); -(const char *filename); +lwres_conf_parse(lwres_context_t *ctx, const char *filename); +.ad .sp +.na lwres_result_t -lwres_conf_print(lwres_context_t *ctx); -(FILE *fp); +lwres_conf_print(lwres_context_t *ctx, FILE *fp); +.ad .sp +.na lwres_conf_t * lwres_conf_get(lwres_context_t *ctx); +.ad \fR.SH "DESCRIPTION" .PP \fBlwres_conf_init()\fR diff --git a/lib/lwres/man/lwres_context.3 b/lib/lwres/man/lwres_context.3 index 6aa705b4a7..7687dc5524 100644 --- a/lib/lwres/man/lwres_context.3 +++ b/lib/lwres/man/lwres_context.3 @@ -12,47 +12,46 @@ .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION .\" 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" "" .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 .SH SYNOPSIS \fB#include .sp +.na lwres_result_t -lwres_context_create(lwres_context_t **contextp); -(void *arg); -(lwres_malloc_t malloc_function); -(lwres_free_t free_function); +lwres_context_create(lwres_context_t **contextp, void *arg, lwres_malloc_t malloc_function, lwres_free_t free_function); +.ad .sp +.na lwres_result_t lwres_context_destroy(lwres_context_t **contextp); +.ad .sp +.na void -lwres_context_initserial(lwres_context_t *ctx); -(lwres_uint32_t serial); +lwres_context_initserial(lwres_context_t *ctx, lwres_uint32_t serial); +.ad .sp +.na lwres_uint32_t lwres_context_nextserial(lwres_context_t *ctx); +.ad .sp +.na void -lwres_context_freemem(lwres_context_t *ctx); -(void *mem); -(size_t len); +lwres_context_freemem(lwres_context_t *ctx, void *mem, size_t len); +.ad .sp +.na void -lwres_context_allocmem(lwres_context_t *ctx); -(size_t len); +lwres_context_allocmem(lwres_context_t *ctx, size_t len); +.ad .sp +.na void * -lwres_context_sendrecv(lwres_context_t *ctx); -(void *sendbase); -(int sendlen); -(void *recvbase); -(int recvlen); -(int *recvd_len); +lwres_context_sendrecv(lwres_context_t *ctx, void *sendbase, int sendlen, void *recvbase, int recvlen, int *recvd_len); +.ad \fR.SH "DESCRIPTION" .PP \fBlwres_context_create()\fR diff --git a/lib/lwres/man/lwres_gabn.3 b/lib/lwres/man/lwres_gabn.3 index d92ffe0ba0..81c93a8d72 100644 --- a/lib/lwres/man/lwres_gabn.3 +++ b/lib/lwres/man/lwres_gabn.3 @@ -12,46 +12,41 @@ .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION .\" 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" "" .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 .SH SYNOPSIS \fB#include .sp +.na lwres_result_t -lwres_gabnrequest_render(lwres_context_t *ctx); -(lwres_gabnrequest_t *req); -(lwres_lwpacket_t *pkt); -(lwres_buffer_t *b); +lwres_gabnrequest_render(lwres_context_t *ctx, lwres_gabnrequest_t *req, lwres_lwpacket_t *pkt, lwres_buffer_t *b); +.ad .sp +.na lwres_result_t -lwres_gabnresponse_render(lwres_context_t *ctx); -(lwres_gabnresponse_t *req); -(lwres_lwpacket_t *pkt); -(lwres_buffer_t *b); +lwres_gabnresponse_render(lwres_context_t *ctx, lwres_gabnresponse_t *req, lwres_lwpacket_t *pkt, lwres_buffer_t *b); +.ad .sp +.na lwres_result_t -lwres_gabnrequest_parse(lwres_context_t *ctx); -(lwres_buffer_t *b); -(lwres_lwpacket_t *pkt); -(lwres_gabnrequest_t **structp); +lwres_gabnrequest_parse(lwres_context_t *ctx, lwres_buffer_t *b, lwres_lwpacket_t *pkt, lwres_gabnrequest_t **structp); +.ad .sp +.na lwres_result_t -lwres_gabnresponse_parse(lwres_context_t *ctx); -(lwres_buffer_t *b); -(lwres_lwpacket_t *pkt); -(lwres_gabnresponse_t **structp); +lwres_gabnresponse_parse(lwres_context_t *ctx, lwres_buffer_t *b, lwres_lwpacket_t *pkt, lwres_gabnresponse_t **structp); +.ad .sp +.na void -lwres_gabnresponse_free(lwres_context_t *ctx); -(lwres_gabnresponse_t **structp); +lwres_gabnresponse_free(lwres_context_t *ctx, lwres_gabnresponse_t **structp); +.ad .sp +.na void -lwres_gabnrequest_free(lwres_context_t *ctx); -(lwres_gabnrequest_t **structp); +lwres_gabnrequest_free(lwres_context_t *ctx, lwres_gabnrequest_t **structp); +.ad \fR.SH "DESCRIPTION" .PP These are low-level routines for creating and parsing diff --git a/lib/lwres/man/lwres_gai_strerror.3 b/lib/lwres/man/lwres_gai_strerror.3 index 2ccb93b15b..6afb5b03fb 100644 --- a/lib/lwres/man/lwres_gai_strerror.3 +++ b/lib/lwres/man/lwres_gai_strerror.3 @@ -12,17 +12,16 @@ .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION .\" 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" "" .SH NAME gai_strerror \- print suitable error string .SH SYNOPSIS \fB#include .sp +.na char * gai_strerror(int ecode); +.ad \fR.SH "DESCRIPTION" .PP \fBlwres_gai_strerror()\fR diff --git a/lib/lwres/man/lwres_getaddrinfo.3 b/lib/lwres/man/lwres_getaddrinfo.3 index c91624cbc9..829bdef705 100644 --- a/lib/lwres/man/lwres_getaddrinfo.3 +++ b/lib/lwres/man/lwres_getaddrinfo.3 @@ -12,23 +12,21 @@ .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION .\" 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" "" .SH NAME lwres_getaddrinfo, lwres_freeaddrinfo \- socket address structure to host and service name .SH SYNOPSIS \fB#include .sp +.na int -lwres_getaddrinfo(const char *hostname); -(const char *servname); -(const struct addrinfo *hints); -(struct addrinfo **res); +lwres_getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res); +.ad .sp +.na void lwres_freeaddrinfo(struct addrinfo *ai); +.ad \fR.PP If the operating system does not provide a \fBstruct addrinfo\fR, diff --git a/lib/lwres/man/lwres_gethostent.3 b/lib/lwres/man/lwres_gethostent.3 index f871a3f07b..2df238f07d 100644 --- a/lib/lwres/man/lwres_gethostent.3 +++ b/lib/lwres/man/lwres_gethostent.3 @@ -12,63 +12,66 @@ .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION .\" 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" "" .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 .SH SYNOPSIS \fB#include .sp +.na struct hostent * lwres_gethostbyname(const char *name); +.ad .sp +.na struct hostent * -lwres_gethostbyname2(const char *name); -(int af); +lwres_gethostbyname2(const char *name, int af); +.ad .sp +.na struct hostent * -lwres_gethostbyaddr(const char *addr); -(int len); -(int type); +lwres_gethostbyaddr(const char *addr, int len, int type); +.ad .sp +.na struct hostent * lwres_gethostent(void); +.ad .sp +.na void lwres_sethostent(int stayopen); +.ad .sp +.na void lwres_endhostent(void); +.ad .sp +.na struct hostent * -lwres_gethostbyname_r(const char *name); -(struct hostent *resbuf); -(char *buf); -(int buflen); -(int *error); +lwres_gethostbyname_r(const char *name, struct hostent *resbuf, char *buf, int buflen, int *error); +.ad .sp +.na struct hostent * -lwres_gethostbyaddr_r(const char *addr); -(int len); -(int type); -(struct hostent *resbuf); -(char *buf); -(int buflen); -(int *error); +lwres_gethostbyaddr_r(const char *addr, int len, int type, struct hostent *resbuf, char *buf, int buflen, int *error); +.ad .sp +.na struct hostent * -lwres_gethostent_r(struct hostent *resbuf); -(char *buf); -(int buflen); -(int *error); +lwres_gethostent_r(struct hostent *resbuf, char *buf, int buflen, int *error); +.ad .sp +.na void lwres_sethostent_r(int stayopen); +.ad .sp +.na void lwres_endhostent_r(void); +.ad \fR.SH "DESCRIPTION" .PP These functions provide hostname-to-address and diff --git a/lib/lwres/man/lwres_getipnode.3 b/lib/lwres/man/lwres_getipnode.3 index 723e164c93..d0b289ee7a 100644 --- a/lib/lwres/man/lwres_getipnode.3 +++ b/lib/lwres/man/lwres_getipnode.3 @@ -12,29 +12,26 @@ .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION .\" 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" "" .SH NAME lwres_getipnodebyname, lwres_getipnodebyaddr, lwres_freehostent \- lightweight resolver nodename / address translation API .SH SYNOPSIS \fB#include .sp +.na struct hostent * -lwres_getipnodebyname(const char *name); -(int af); -(int flags); -(int *error_num); +lwres_getipnodebyname(const char *name, int af, int flags, int *error_num); +.ad .sp +.na struct hostent * -lwres_getipnodebyaddr(const void *src); -(size_t len); -(int af); -(int *error_num); +lwres_getipnodebyaddr(const void *src, size_t len, int af, int *error_num); +.ad .sp +.na void lwres_freehostent(struct hostent *he); +.ad \fR.SH "DESCRIPTION" .PP These functions perform thread safe, protocol independent diff --git a/lib/lwres/man/lwres_getnameinfo.3 b/lib/lwres/man/lwres_getnameinfo.3 index 2b3e3847a2..cbfac4bb45 100644 --- a/lib/lwres/man/lwres_getnameinfo.3 +++ b/lib/lwres/man/lwres_getnameinfo.3 @@ -12,23 +12,16 @@ .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION .\" 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" "" .SH NAME lwres_getnameinfo \- lightweight resolver socket address structure to hostname and service name .SH SYNOPSIS \fB#include .sp +.na int -lwres_getnameinfo(const struct sockaddr *sa); -(size_t salen); -(char *host); -(size_t hostlen); -(char *serv); -(size_t servlen); -(int flags); +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" .PP This function is equivalent to the diff --git a/lib/lwres/man/lwres_getrrsetbyname.3 b/lib/lwres/man/lwres_getrrsetbyname.3 index 4b3c146fd1..648b70faf9 100644 --- a/lib/lwres/man/lwres_getrrsetbyname.3 +++ b/lib/lwres/man/lwres_getrrsetbyname.3 @@ -12,24 +12,21 @@ .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION .\" 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" "" .SH NAME lwres_getrrsetbyname, lwres_freerrset \- retrieve DNS records .SH SYNOPSIS \fB#include .sp +.na int -lwres_getrrsetbyname(const char *hostname); -(unsigned int rdclass); -(unsigned int rdtype); -(unsigned int flags); -(struct rrsetinfo **res); +lwres_getrrsetbyname(const char *hostname, unsigned int rdclass, unsigned int rdtype, unsigned int flags, struct rrsetinfo **res); +.ad .sp +.na void lwres_freerrset(struct rrsetinfo *rrset); +.ad \fR.PP The following structures are used: .sp diff --git a/lib/lwres/man/lwres_gnba.3 b/lib/lwres/man/lwres_gnba.3 index 36b17b6e5a..5065fc2a71 100644 --- a/lib/lwres/man/lwres_gnba.3 +++ b/lib/lwres/man/lwres_gnba.3 @@ -12,46 +12,41 @@ .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION .\" 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" "" .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 .SH SYNOPSIS \fB#include .sp +.na lwres_result_t -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_render(lwres_context_t *\fIctx\fB, lwres_gnbarequest_t *\fIreq\fB, lwres_lwpacket_t *\fIpkt\fB, lwres_buffer_t *\fIb\fB); +.ad .sp +.na lwres_result_t -lwres_gnbaresponse_render(lwres_context_t *ctx); -(lwres_gnbaresponse_t *req); -(lwres_lwpacket_t *pkt); -(lwres_buffer_t *b); +lwres_gnbaresponse_render(lwres_context_t *ctx, lwres_gnbaresponse_t *req, lwres_lwpacket_t *pkt, lwres_buffer_t *b); +.ad .sp +.na lwres_result_t -lwres_gnbarequest_parse(lwres_context_t *ctx); -(lwres_buffer_t *b); -(lwres_lwpacket_t *pkt); -(lwres_gnbarequest_t **structp); +lwres_gnbarequest_parse(lwres_context_t *ctx, lwres_buffer_t *b, lwres_lwpacket_t *pkt, lwres_gnbarequest_t **structp); +.ad .sp +.na lwres_result_t -lwres_gnbaresponse_parse(lwres_context_t *ctx); -(lwres_buffer_t *b); -(lwres_lwpacket_t *pkt); -(lwres_gnbaresponse_t **structp); +lwres_gnbaresponse_parse(lwres_context_t *ctx, lwres_buffer_t *b, lwres_lwpacket_t *pkt, lwres_gnbaresponse_t **structp); +.ad .sp +.na void -lwres_gnbaresponse_free(lwres_context_t *ctx); -(lwres_gnbaresponse_t **structp); +lwres_gnbaresponse_free(lwres_context_t *ctx, lwres_gnbaresponse_t **structp); +.ad .sp +.na void -lwres_gnbarequest_free(lwres_context_t *ctx); -(lwres_gnbarequest_t **structp); +lwres_gnbarequest_free(lwres_context_t *ctx, lwres_gnbarequest_t **structp); +.ad \fR.SH "DESCRIPTION" .PP These are low-level routines for creating and parsing diff --git a/lib/lwres/man/lwres_hstrerror.3 b/lib/lwres/man/lwres_hstrerror.3 index e9ad9c63ff..ae2c5939f2 100644 --- a/lib/lwres/man/lwres_hstrerror.3 +++ b/lib/lwres/man/lwres_hstrerror.3 @@ -12,20 +12,21 @@ .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION .\" 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" "" .SH NAME lwres_herror, lwres_hstrerror \- lightweight resolver error message generation .SH SYNOPSIS \fB#include .sp +.na void lwres_herror(const char *s); +.ad .sp +.na const char * lwres_hstrerror(int err); +.ad \fR.SH "DESCRIPTION" .PP \fBlwres_herror()\fR diff --git a/lib/lwres/man/lwres_inetntop.3 b/lib/lwres/man/lwres_inetntop.3 index 53bd8aac7b..b887a2ea45 100644 --- a/lib/lwres/man/lwres_inetntop.3 +++ b/lib/lwres/man/lwres_inetntop.3 @@ -12,20 +12,16 @@ .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION .\" 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" "" .SH NAME lwres_net_ntop \- lightweight resolver IP address presentation .SH SYNOPSIS \fB#include .sp +.na const char * -lwres_net_ntop(int af); -(const void *src); -(char *dst); -(size_t size); +lwres_net_ntop(int af, const void *src, char *dst, size_t size); +.ad \fR.SH "DESCRIPTION" .PP \fBlwres_net_ntop()\fR diff --git a/lib/lwres/man/lwres_noop.3 b/lib/lwres/man/lwres_noop.3 index f8a30281bb..064288552c 100644 --- a/lib/lwres/man/lwres_noop.3 +++ b/lib/lwres/man/lwres_noop.3 @@ -12,46 +12,41 @@ .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION .\" 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" "" .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 .SH SYNOPSIS \fB#include .sp +.na lwres_result_t -lwres_nooprequest_render(lwres_context_t *ctx); -(lwres_nooprequest_t *req); -(lwres_lwpacket_t *pkt); -(lwres_buffer_t *b); +lwres_nooprequest_render(lwres_context_t *ctx, lwres_nooprequest_t *req, lwres_lwpacket_t *pkt, lwres_buffer_t *b); +.ad .sp +.na lwres_result_t -lwres_noopresponse_render(lwres_context_t *ctx); -(lwres_noopresponse_t *req); -(lwres_lwpacket_t *pkt); -(lwres_buffer_t *b); +lwres_noopresponse_render(lwres_context_t *ctx, lwres_noopresponse_t *req, lwres_lwpacket_t *pkt, lwres_buffer_t *b); +.ad .sp +.na lwres_result_t -lwres_nooprequest_parse(lwres_context_t *ctx); -(lwres_buffer_t *b); -(lwres_lwpacket_t *pkt); -(lwres_nooprequest_t **structp); +lwres_nooprequest_parse(lwres_context_t *ctx, lwres_buffer_t *b, lwres_lwpacket_t *pkt, lwres_nooprequest_t **structp); +.ad .sp +.na lwres_result_t -lwres_noopresponse_parse(lwres_context_t *ctx); -(lwres_buffer_t *b); -(lwres_lwpacket_t *pkt); -(lwres_noopresponse_t **structp); +lwres_noopresponse_parse(lwres_context_t *ctx, lwres_buffer_t *b, lwres_lwpacket_t *pkt, lwres_noopresponse_t **structp); +.ad .sp +.na void -lwres_noopresponse_free(lwres_context_t *ctx); -(lwres_noopresponse_t **structp); +lwres_noopresponse_free(lwres_context_t *ctx, lwres_noopresponse_t **structp); +.ad .sp +.na void -lwres_nooprequest_free(lwres_context_t *ctx); -(lwres_nooprequest_t **structp); +lwres_nooprequest_free(lwres_context_t *ctx, lwres_nooprequest_t **structp); +.ad \fR.SH "DESCRIPTION" .PP These are low-level routines for creating and parsing diff --git a/lib/lwres/man/lwres_packet.3 b/lib/lwres/man/lwres_packet.3 index 3fc2f1e710..9b4f5b62fd 100644 --- a/lib/lwres/man/lwres_packet.3 +++ b/lib/lwres/man/lwres_packet.3 @@ -12,22 +12,21 @@ .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION .\" 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" "" .SH NAME lwres_lwpacket_renderheader, lwres_lwpacket_parseheader \- lightweight resolver packet handling functions .SH SYNOPSIS \fB#include #include #include .sp +.na lwres_result_t -lwres_lwpacket_renderheader(lwres_buffer_t *b); -(lwres_lwpacket_t *pkt); +lwres_lwpacket_renderheader(lwres_buffer_t *b, lwres_lwpacket_t *pkt); +.ad .sp +.na lwres_result_t -lwres_lwpacket_parseheader(lwres_buffer_t *b); -(lwres_lwpacket_t *pkt); +lwres_lwpacket_parseheader(lwres_buffer_t *b, lwres_lwpacket_t *pkt); +.ad \fR.SH "DESCRIPTION" .PP These functions rely on a diff --git a/lib/lwres/man/lwres_resutil.3 b/lib/lwres/man/lwres_resutil.3 index 01659455ac..a8ec37c139 100644 --- a/lib/lwres/man/lwres_resutil.3 +++ b/lib/lwres/man/lwres_resutil.3 @@ -12,36 +12,31 @@ .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION .\" 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" "" .SH NAME lwres_string_parse, lwres_addr_parse, lwres_getaddrsbyname, lwres_getnamebyaddr \- lightweight resolver utility functions .SH SYNOPSIS \fB#include .sp +.na lwres_result_t -lwres_string_parse(lwres_buffer_t *b); -(char **c); -(lwres_uint16_t *len); +lwres_string_parse(lwres_buffer_t *b, char **c, lwres_uint16_t *len); +.ad .sp +.na lwres_result_t -lwres_addr_parse(lwres_buffer_t *b); -(lwres_addr_t *addr); +lwres_addr_parse(lwres_buffer_t *b, lwres_addr_t *addr); +.ad .sp +.na lwres_result_t -lwres_getaddrsbyname(lwres_context_t *ctx); -(const char *name); -(lwres_uint32_t addrtypes); -(lwres_gabnresponse_t **structp); +lwres_getaddrsbyname(lwres_context_t *ctx, const char *name, lwres_uint32_t addrtypes, lwres_gabnresponse_t **structp); +.ad .sp +.na 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); +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" .PP \fBlwres_string_parse()\fR