Commit b643d148 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Dominick Meglio man page fixes

parent 5804c995
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -21,11 +21,9 @@ ares_mkquery \- Compose a single-question DNS query buffer
.nf
.B #include <ares.h>
.PP
.B
int ares_mkquery(const char *\fIname\fP, int \fIdnsclass\fP, int \fItype\fP,
.B
	unsigned short \fIid\fP, int \fIrd\fP, char **\fIbuf\fP,
	int *\fIbuflen\fP)
.B int ares_mkquery(const char *\fIname\fP, int \fIdnsclass\fP, int \fItype\fP,
.B	unsigned short \fIid\fP, int \fIrd\fP, char **\fIbuf\fP,
.B	int *\fIbuflen\fP)
.fi
.SH DESCRIPTION
The
+2 −3
Original line number Diff line number Diff line
@@ -21,9 +21,8 @@ ares_parse_a_reply \- Parse a reply to a DNS query of type A into a hostent
.nf
.B #include <ares.h>
.PP
.B
int ares_parse_a_reply(const unsigned char *\fIabuf\fB, int \fIalen\fB,
.B 	struct hostent **\fIhost\fB);
.B int ares_parse_a_reply(const unsigned char *\fIabuf\fP, int \fIalen\fP,
.B 	struct hostent **\fIhost\fP);
.fi
.SH DESCRIPTION
The
+3 −5
Original line number Diff line number Diff line
@@ -21,11 +21,9 @@ ares_parse_ptr_reply \- Parse a reply to a DNS query of type PTR into a hostent
.nf
.B #include <ares.h>
.PP
.B
int ares_parse_ptr_reply(const unsigned char *\fIabuf\fB, int \fIalen\fB,
.B
 	const void *\fIaddr\fP, int \fIaddrlen\fP, int \fIfamily\fP,
.B	struct hostent **\fIhost\fB);
.B int ares_parse_ptr_reply(const unsigned char *\fIabuf\fP, int \fIalen\fP,
.B 	const void *\fIaddr\fP, int \fIaddrlen\fP, int \fIfamily\fP,
.B	struct hostent **\fIhost\fP);
.fi
.SH DESCRIPTION
The
+1 −2
Original line number Diff line number Diff line
@@ -24,8 +24,7 @@ ares_send \- Initiate a DNS query
.B typedef void (*ares_callback)(void *\fIarg\fP, int \fIstatus\fP,
.B	unsigned char *\fIabuf\fP, int \fIalen\fP)
.PP
.B
void ares_send(ares_channel \fIchannel\fP, const unsigned char *\fIqbuf\fP,
.B void ares_send(ares_channel \fIchannel\fP, const unsigned char *\fIqbuf\fP,
.B 	int \fIqlen\fP, ares_callback \fIcallback\fP, void *\fIarg\fP)
.fi
.SH DESCRIPTION