summaryrefslogtreecommitdiff
path: root/ares_parse_srv_reply.3
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-10-29 09:06:22 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-10-29 09:06:22 +0000
commitd64a407d1135df444ebcc3930bfc7ca49f6d89da (patch)
tree7fb94f018ab2de9b45c52026d6845c33a2f40d3b /ares_parse_srv_reply.3
parent9cbd5ed0346c027db16fdc8a0c091d69aa79607b (diff)
downloadc-ares-d64a407d1135df444ebcc3930bfc7ca49f6d89da.tar.gz
c-ares-d64a407d1135df444ebcc3930bfc7ca49f6d89da.tar.bz2
c-ares-d64a407d1135df444ebcc3930bfc7ca49f6d89da.zip
update to the new struct name
Diffstat (limited to 'ares_parse_srv_reply.3')
-rw-r--r--ares_parse_srv_reply.311
1 files changed, 5 insertions, 6 deletions
diff --git a/ares_parse_srv_reply.3 b/ares_parse_srv_reply.3
index a83d480..77fe071 100644
--- a/ares_parse_srv_reply.3
+++ b/ares_parse_srv_reply.3
@@ -15,20 +15,19 @@
.\"
.TH ARES_PARSE_SRV_REPLY 3 "4 August 2009"
.SH NAME
-ares_parse_srv_reply \- Parse a reply to a DNS query of type SRV into a
-struct srv_reply
+ares_parse_srv_reply \- Parse a reply to a DNS query of type SRV
.SH SYNOPSIS
.nf
.B #include <ares.h>
.PP
.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
.SH DESCRIPTION
The
.B ares_parse_srv_reply
function parses the response to a query of type SRV into a
-.I struct srv_reply
+.I struct ares_srv_reply
The parameters
.I abuf
and
@@ -43,12 +42,12 @@ It is the caller's responsibility to free the resulting
structure when it is no longer needed.
.PP
The structure
-.I srv_reply
+.I ares_srv_reply
contains the following fields:
.sp
.in +4n
.nf
-struct srv_reply {
+struct ares_srv_reply {
unsigned short weight;
unsigned short priority;
unsigned short port;