BIND 10 #2383: add dns::Name constructor to be usable from MasterLoader

BIND 10 Development do-not-reply at isc.org
Fri Oct 19 07:31:55 UTC 2012


#2383: add dns::Name constructor to be usable from MasterLoader
-------------------------------------+-------------------------------------
            Reporter:  jinmei        |                        Owner:
                Type:  task          |  UnAssigned
            Priority:  medium        |                       Status:  new
           Component:  libdns++      |                    Milestone:  New
           Sensitive:  0             |  Tasks
         Sub-Project:  DNS           |                     Keywords:
Estimated Difficulty:  0             |              Defect Severity:  N/A
         Total Hours:  0             |  Feature Depending on Ticket:
                                     |  loadzone-ng
                                     |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------
 The new constructor's signature would be:

 {{{#!cpp
 Name::Name(const char* name_data, size_t data_len, const Name* origin,
           /* bool downcase? */);
 }}}

 Then `MasterLoader` can pass the string region data and possibly the
 origin when the name is not absolute.  String region could be
 std::string, but constructing it would be expensive, so I propose
 bare data without any copy or object creation here.

 We also need to extend the interpretation of '@' using the origin.

-- 
Ticket URL: <http://bind10.isc.org/ticket/2383>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list