summaryrefslogtreecommitdiffstats
path: root/server/resolv/ares/ares_parse_srv_reply.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2009-11-27 09:39:41 +0100
committerStephen Gallagher <sgallagh@redhat.com>2009-12-09 10:05:10 -0500
commit0c1c70e1f60d4263b93d63ba0179a998c3fcf554 (patch)
treede7cf796be90ee7a9e3cb9af821904d4535681bb /server/resolv/ares/ares_parse_srv_reply.h
parent9b93fb29b1c41d523da87cdf7be226cc8322df66 (diff)
downloadsssd-0c1c70e1f60d4263b93d63ba0179a998c3fcf554.tar.gz
sssd-0c1c70e1f60d4263b93d63ba0179a998c3fcf554.tar.xz
sssd-0c1c70e1f60d4263b93d63ba0179a998c3fcf554.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.h13
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 caf93cd2b..29c6e08d1 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__ */