![]() |
![]()
| ![]() |
![]()
NAMEmetalink_chunk_checksum_t - The structure that holds piece hashes for a resource. SYNOPSIS#include <metalink/metalink_types.h> DESCRIPTIONmetalink_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). STRUCTURE MEMBERSchar *type;
typeNull terminated string of a message digest algorithm name used to calculate hash value for a resource. lengthLength of a piece in bytes. piece_hashesNull 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]. SEE ALSOmetalink_parse_file(3), metalink_piece_hash_t(3)
|