add a simple container for HashStrings
authorDavid Kalnischkies <kalnischkies@gmail.com>
Sun, 18 Aug 2013 21:17:05 +0000 (23:17 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Mon, 10 Nov 2014 16:23:29 +0000 (17:23 +0100)
commit3f439e2b7126fb82952cd7bc12b8d6cb01352219
tree4b40973346996a3a2dd9caaa48028d9408c0d615
parent28460cb27846b2437010b08adf10bde18e370974
add a simple container for HashStrings

APT supports more than just one HashString and even allows to enforce
the usage of a specific hash. This class is intended to help with
storage and passing around of the HashStrings.

The cherry-pick here the un-const-ification of HashType() compared to
f4c3850ea335545e297504941dc8c7a8f1c83358. The point of this commit is
adding infrastructure for the next one. All by itself, it just adds new
symbols.

Git-Dch: Ignore
apt-pkg/contrib/hashes.cc
apt-pkg/contrib/hashes.h
debian/libapt-pkg4.12.symbols
test/libapt/hashsums_test.cc