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_txt_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_txt_reply.h')
-rw-r--r-- | server/resolv/ares/ares_parse_txt_reply.h | 9 |
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 9fd42787..216e2c0d 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__ */ |