From a3b55a024b03321be969a892cb0992bad14266af Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Fri, 27 Nov 2009 09:39:41 +0100 Subject: Import ares 1.7.0 helpers --- server/resolv/ares/ares_parse_srv_reply.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'server/resolv/ares/ares_parse_srv_reply.h') diff --git a/server/resolv/ares/ares_parse_srv_reply.h b/server/resolv/ares/ares_parse_srv_reply.h index caf93cd2..29c6e08d 100644 --- a/server/resolv/ares/ares_parse_srv_reply.h +++ b/server/resolv/ares/ares_parse_srv_reply.h @@ -21,14 +21,15 @@ #ifndef __ARES_PARSE_SRV_REPLY_H__ #define __ARES_PARSE_SRV_REPLY_H__ -struct srv_reply { - u_int16_t weight; - u_int16_t priority; - u_int16_t port; - char *host; +struct ares_srv_reply { + struct ares_srv_reply *next; + char *host; + unsigned short priority; + unsigned short weight; + unsigned short port; }; int _ares_parse_srv_reply (const unsigned char *abuf, int alen, - struct srv_reply **srv_out, int *nsrvreply); + struct ares_srv_reply **srv_out); #endif /* __ARES_PARSE_SRV_REPLY_H__ */ -- cgit