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

Reply via email to