metalink_chunk_checksum_t is a structure that holds piece hashes for a resource. It contains length of piece and a message digest algorithm name and each hash value which is stored in metalink_piece_hash_t(3).
Null terminated string of a message digest algorithm name used to calculate hash value for a resource.
Length of a piece in bytes.
Null terminated array of pointer of metalink_piece_hash_t(3) structure. They are ordered so that a pointer to metalink_piece_hash_t(3) of ith piece can be accessed by piece_hashes[i].