Marko Kreen | 6 Jun 2012 23:18
Picon

[patch] helper function to parsee SOA reply

I need to do SOA queries, so here is a parser for them.

- ares_soa_reply: new struct
- ares_malloc_data/ares_free_soa: ARES_DATATYPE_SOA_REPLY
- ares_parse_soa_reply: actual function

--

-- 
marko

Attachment (soa-parse.diff): text/x-diff, 10 KiB
Daniel Stenberg | 15 Jun 2012 13:33
Picon
Favicon
Gravatar

Re: [patch] helper function to parsee SOA reply

On Thu, 7 Jun 2012, Marko Kreen wrote:

> I need to do SOA queries, so here is a parser for them.

Thanks, I've merged and pushed this into master now!

--

-- 

  / daniel.haxx.se

Marko Kreen | 15 Jun 2012 13:55
Picon

Re: [patch] helper function to parsee SOA reply

On Fri, Jun 15, 2012 at 2:33 PM, Daniel Stenberg <daniel@...> wrote:
> On Thu, 7 Jun 2012, Marko Kreen wrote:
>> I need to do SOA queries, so here is a parser for them.
>
> Thanks, I've merged and pushed this into master now!

Thanks!

I guess the new version should be mentioned in ares_data.h too:

-  ARES_DATATYPE_SOA_REPLY,    /* struct ares_soa_reply - introduced in 1.x.x */
+  ARES_DATATYPE_SOA_REPLY,    /* struct ares_soa_reply - introduced in 1.9.0 */

--

-- 
marko


Gmane