BIND 10 #502: Iterate over RRs
BIND 10 Development
do-not-reply at isc.org
Sun Jan 23 03:31:32 UTC 2011
#502: Iterate over RRs
-------------------------------------+-------------------------------------
Reporter: stephen | Owner: vorner
Type: | Status: reviewing
enhancement | Milestone: A-Team-
Priority: major | Sprint-20110126
Component: | Resolution:
b10-auth | Sensitive: 0
Keywords: | Add Hours to Ticket: 0
Estimated Number of Hours: 3.0 | Total Hours: 0
Billable?: 1 |
Internal?: 0 |
-------------------------------------+-------------------------------------
Changes (by zzchen_pku):
* owner: zzchen_pku => vorner
Comment:
Replying to [comment:5 vorner]:
> May I suggest that some kind of iterator is put into the FindResult and
can be
> used to access the data from single node? Or, we might as well return
shared
> pointer to the FindResult, then it can be subclassed and it can have a
virtual
> function to actually fill the RRsets somewhere?
I would combine find() and findAny() together by extending the find()
interface:
{{{
FindResult find(const Name& name, RRType type,
RRsetList& target, const FindOptions options) const
}}}
For TYPE_ANY query, it will iterate over RRs under the domain name and
insert them into target, is this ok?
--
Ticket URL: <http://bind10.isc.org/ticket/502#comment:6>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list