1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 16:18:48 -05:00

update to the new struct name

This commit is contained in:
Daniel Stenberg 2009-10-29 09:06:22 +00:00
parent 950a034895
commit 3717b7a792

View File

@ -15,20 +15,19 @@
.\" .\"
.TH ARES_PARSE_SRV_REPLY 3 "4 August 2009" .TH ARES_PARSE_SRV_REPLY 3 "4 August 2009"
.SH NAME .SH NAME
ares_parse_srv_reply \- Parse a reply to a DNS query of type SRV into a ares_parse_srv_reply \- Parse a reply to a DNS query of type SRV
struct srv_reply
.SH SYNOPSIS .SH SYNOPSIS
.nf .nf
.B #include <ares.h> .B #include <ares.h>
.PP .PP
.B int ares_parse_srv_reply(const unsigned char* \fIabuf\fP, int \fIalen\fP, .B int ares_parse_srv_reply(const unsigned char* \fIabuf\fP, int \fIalen\fP,
.B struct srv_reply** \fIsrv_out\fP, int *\fInsrvreply\fP); .B struct ares_srv_reply** \fIsrv_out\fP, int *\fInsrvreply\fP);
.fi .fi
.SH DESCRIPTION .SH DESCRIPTION
The The
.B ares_parse_srv_reply .B ares_parse_srv_reply
function parses the response to a query of type SRV into a function parses the response to a query of type SRV into a
.I struct srv_reply .I struct ares_srv_reply
The parameters The parameters
.I abuf .I abuf
and and
@ -43,12 +42,12 @@ It is the caller's responsibility to free the resulting
structure when it is no longer needed. structure when it is no longer needed.
.PP .PP
The structure The structure
.I srv_reply .I ares_srv_reply
contains the following fields: contains the following fields:
.sp .sp
.in +4n .in +4n
.nf .nf
struct srv_reply { struct ares_srv_reply {
unsigned short weight; unsigned short weight;
unsigned short priority; unsigned short priority;
unsigned short port; unsigned short port;