Subject: Re: [PATCH] ares_parse_txt_reply

Re: [PATCH] ares_parse_txt_reply

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 31 Oct 2009 23:33:55 +0100 (CET)

On Fri, 30 Oct 2009, Jakub Hrozek wrote:

> So, what about a slight change in the external structures:
>
> struct ares_srv_reply {
> <data>
> struct ares_srv-reply *next;
> }
>
> and have the private structure defined along the lines:
>
> struct ares_private {
> int magic;
> union {
> struct ares_srv_reply srv;
> struct ares_txt_reply txt;
> } data;
> };

Sure, that would work perfectly fine with me!

-- 
  / daniel.haxx.se
Received on 2009-10-31