deal with hashes in ftparchive more dynamic as well
authorDavid Kalnischkies <david@kalnischkies.de>
Sun, 27 Apr 2014 16:23:20 +0000 (18:23 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Fri, 9 May 2014 11:06:27 +0000 (13:06 +0200)
commita311fb96b84757ef8628e6a754232614a53b7891
tree1d76304ca36064edf4e33a27c2af0b3456d3505d
parentb3501edb7091ca3aa6c2d6d96dc667b8161dd2b9
deal with hashes in ftparchive more dynamic as well

Now that libapts acquire system happily passes around hashes and can be
made to support new ones without an ABI break in the future, we can
free ftparchive from all the deprecation warnings the last commit
introduced for it.

The goal here isn't to preserve ABI as we have none to keep here, but to
help avoiding introduction problems of 'new' hashes later as bugs creep
into the copy&paste parts, so short/less of them is good.
ftparchive/cachedb.cc
ftparchive/cachedb.h
ftparchive/writer.cc
ftparchive/writer.h
test/integration/framework