METALINK_CHUNK_CHECKSUM_T(3)
π NAME
okay bestie, metalink_chunk_checksum_t is literally the structure that holds piece hashes for a resource β¨ and this is the METALINK_CHUNK_CHECKSUM_T(3) page from the libmetalink manual. Itβs giving βtiny but important,β fr fr.
π¦ SYNOPSIS
include this header, bestie:
#include <metalink/metalink_types.h>
πΈ DESCRIPTION
metalink_chunk_checksum_t is a structure that holds piece hashes for a resource. It contains the length of a piece, a message digest algorithm name, and each hash value β and those hash values are stored in metalink_piece_hash_t(3) π
.
π STRUCTURE MEMBERS
hereβs the whole vibe:
char *type;
int length;
metalink_piece_hash_t **piece_hashes;
type
a null-terminated string of a message digest algorithm name used to calculate the hash value for a resource π₯.
length
the length of a piece in bytes π.
piece_hashes
a null-terminated array of pointers to metalink_piece_hash_t(3) structures π«Ά. They are ordered so that a pointer to the metalink_piece_hash_t(3) of the ith piece can be accessed by piece_hashes[i] β iykyk π.
π SEE ALSO
libmetalink 0.0.3 Β· 10/28/2008 β thatβs the cute little source/version + date sign-off, bestie πβ¨
π¦ where this page comes from
- epel 9: libmetalink-devel 0.1.3-24.el9 Β· MIT
- opensuse-leap 16.0: libmetalink-devel 0.1.3-160000.2.2 Β· MIT
- opensuse-leap 16.0: libmetalink-devel 0.1.3-160000.2.2 Β· MIT
- opensuse-leap 16.0: libmetalink-devel 0.1.3-160000.2.2 Β· MIT
- opensuse-leap 16.0: libmetalink-devel 0.1.3-160000.2.2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms