diff options
Diffstat (limited to 'docs/ares_send.3')
-rw-r--r-- | docs/ares_send.3 | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/docs/ares_send.3 b/docs/ares_send.3 index b89abfe..59f2e2b 100644 --- a/docs/ares_send.3 +++ b/docs/ares_send.3 @@ -13,18 +13,21 @@ .\" this software for any purpose. It is provided "as is" .\" without express or implied warranty. .\" +.\" SPDX-License-Identifier: MIT +.\" .TH ARES_SEND 3 "25 July 1998" .SH NAME ares_send \- Initiate a DNS query .SH SYNOPSIS .nf -.B #include <ares.h> -.PP -.B typedef void (*ares_callback)(void *\fIarg\fP, int \fIstatus\fP, -.B int \fItimeouts\fP, unsigned char *\fIabuf\fP, int \fIalen\fP) -.PP -.B void ares_send(ares_channel \fIchannel\fP, const unsigned char *\fIqbuf\fP, -.B int \fIqlen\fP, ares_callback \fIcallback\fP, void *\fIarg\fP) +#include <ares.h> + +typedef void (*ares_callback)(void *\fIarg\fP, int \fIstatus\fP, + int \fItimeouts\fP, unsigned char *\fIabuf\fP, + int \fIalen\fP) + +void ares_send(ares_channel \fIchannel\fP, const unsigned char *\fIqbuf\fP, + int \fIqlen\fP, ares_callback \fIcallback\fP, void *\fIarg\fP) .fi .SH DESCRIPTION The |