[bind10-dev] RRset API is hard to use

JINMEI Tatuya / 神明達哉 jinmei at isc.org
Mon Feb 8 19:09:50 UTC 2010


At Mon, 08 Feb 2010 09:48:53 -0600,
Michael Graff <mgraff at isc.org> wrote:

> It may be my difficulty in how I'm doing things, so suggestions are
> welcomed.
> 
> What I am doing is more or less this:
> 
>   issue SQL query to find records
>   for each record found:
>     Add it to an RDATAset.
> 
> However, this is rather hard currently.
> 
> The "add" step currently means I need to put a giant switch statement in
> my code to create the correct type of record to parse.

Could you be more specific about the "record" returned from the SQL
query?  I suspect the answer to your question highly depends on its
detail.

---
JINMEI, Tatuya



More information about the bind10-dev mailing list