diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2009-11-27 09:39:41 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-12-09 10:05:18 -0500 |
commit | a3b55a024b03321be969a892cb0992bad14266af (patch) | |
tree | 9dfa66057df41bd5910ab9e09b14cfd4db4a0a2e /server/resolv/ares/ares_parse_srv_reply.h | |
parent | 2446a71baaae100bafee0589a2e18bb8a16dff1b (diff) | |
download | sssd-a3b55a024b03321be969a892cb0992bad14266af.tar.gz sssd-a3b55a024b03321be969a892cb0992bad14266af.tar.bz2 sssd-a3b55a024b03321be969a892cb0992bad14266af.zip |
Import ares 1.7.0 helpers
Diffstat (limited to 'server/resolv/ares/ares_parse_srv_reply.h')
-rw-r--r-- | server/resolv/ares/ares_parse_srv_reply.h | 13 |
1 files changed, 7 insertions, 6 deletions
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__ */ |