cc-hash.c, hashsum.c: Move hash-file parsing stuff to `cc-hash.c'.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 22 Jan 2012 13:12:15 +0000 (13:12 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 22 Jan 2012 13:12:15 +0000 (13:12 +0000)
commitf377eee1983a7c9f33a9920b3bf16180dca909da
treea8a6df0b266d6a66fba3a7137d38b9e9ee7cb466
parent18b3351a3791f19a63c0af05640719db8eb5d184
cc-hash.c, hashsum.c: Move hash-file parsing stuff to `cc-hash.c'.

This is a bit trickier than just slinging existing functions about and
tarting them up a bit: it introduces a proper interface to parsing hash
files, which previously was interleaved with actually verifying the
hashes.

Also moved a couple of auxiliary functions which are needed by the moved
code.
cc-hash.c
cc.h
hashsum.c