BIND 10 #2162: rename datasrc/zone.h to datasrc/iterator.h

BIND 10 Development do-not-reply at isc.org
Fri Jul 27 22:44:46 UTC 2012


#2162: rename datasrc/zone.h to datasrc/iterator.h
-------------------------------------+-------------------------------------
            Reporter:  jinmei        |                        Owner:
                Type:  defect        |                       Status:  new
            Priority:  medium        |                    Milestone:  Next-
           Component:  data source   |  Sprint-Proposed
           Sensitive:  0             |                     Keywords:
         Sub-Project:  DNS           |              Defect Severity:  N/A
Estimated Difficulty:  0             |  Feature Depending on Ticket:
         Total Hours:  0             |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------
 "zone.h" sounds too generic (historically it indeed defined a `Zone`
 class, but not any more).  I propose:

 - rename zone.h to zone_finder.h and only define `ZoneFinder` there
 - create zone_updater.h and zone_journal_reader.h, and move the
   definitions of `ZoneUpdater` and `ZoneJournalReader` to the new
   files, respectively.
 - rename iterator.h to zone_iterator.h (for consistency, and
   "iterator" is also pretty generic)

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


More information about the bind10-tickets mailing list