[bind10-dev] BIND 10 #749: Create C++ utility library

Stephen Morris stephen at isc.org
Wed Mar 30 08:24:06 UTC 2011


On 30/03/2011 09:33, Michal 'vorner' Vaner wrote:
> Hello
> 
> On Wed, Mar 30, 2011 at 06:36:37AM -0000, BIND 10 Development wrote:
>> #749: Create C++ utility library
>> -------------------------------------+-------------------------------------
> 
> Is it just to create the (empty) library, or to put something into it?

The library is really a repository for code that could be useful in
several places in BIND 10 but which does not neatly fit into any
particular place.

There are some suggestions for content; the examples in the ticket are
some string parsing functions and stand-alone functions to read/write
numbers in network byte order. (The latter are copies of methods in the
InputBuffer and OutputBuffer class; however the functionality was needed
elsewhere, hence the extraction into stand-along functions.)

> 
> If the first, then this is done in #366 (I needed the library) and it should be
> merged soon. Would you mind waiting a little bit, so there are no conflicts and
> this ticket is solved without work? O:-).

It can wait.  It's really a refactoring to encourage code reuse.

Stephen



More information about the bind10-dev mailing list