summaryrefslogtreecommitdiffstats
path: root/server/resolv/ares/ares_parse_txt_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_txt_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_txt_reply.h')
-rw-r--r--server/resolv/ares/ares_parse_txt_reply.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/server/resolv/ares/ares_parse_txt_reply.h b/server/resolv/ares/ares_parse_txt_reply.h
index 9fd42787e..216e2c0d1 100644
--- a/server/resolv/ares/ares_parse_txt_reply.h
+++ b/server/resolv/ares/ares_parse_txt_reply.h
@@ -21,12 +21,13 @@
#ifndef __ARES_PARSE_TXT_REPLY_H__
#define __ARES_PARSE_TXT_REPLY_H__
-struct txt_reply {
- int length; /* length of the text */
- unsigned char *txt; /* may contain nulls */
+struct ares_txt_reply {
+ struct ares_txt_reply *next;
+ unsigned char *txt;
+ size_t length; /* length excludes null termination */
};
int _ares_parse_txt_reply(const unsigned char* abuf, int alen,
- struct txt_reply **txt_out, int *ntxtreply);
+ struct ares_txt_reply **txt_out);
#endif /* __ARES_PARSE_TXT_REPLY_H__ */