METALINK_CHECKSUM_T(3)
π METALINK_CHECKSUM_T(3) π
okay so bestie, this is a page from the libmetalink Manual β it's all about metalink_checksum_t, and honestly? she's lowkey iconic. she holds the hash. that's her whole job. slay.
β¨ NAME β¨
metalink_checksum_t β the structure that holds a hash value of an entire resource. that's it, that's the vibe. π
πΈ SYNOPSIS πΈ
#include <metalink/metalink_types.h>
like, you literally just include this and you're in. no cap. π
π¦ DESCRIPTION π¦
so metalink_checksum_t is a structure that holds a hash value of an entire resource. main character energy fr β she keeps two things: the hash value of a resource itself, and the name of the message digest algorithm that made it. that's the whole squad. π«Ά
π STRUCTURE MEMBERS π
char *type;
char *hash;
two char *s. two little legends. let's meet them π
β type
a null terminated string of a message digest algorithm name β the one used to calculate the hash value for a resource. iykyk, it's the "which algorithm are we even using" field. π₯
π hash
a null terminated string of a hash value, written out in ASCII hexadecimal notation. literally the fingerprint of the resource, in hex, bestie. hex. β¨
π SEE ALSO π
metalink_parse_file(3)β go read her next, she's the one who actually gets the parsing done π
heads up bestie: bothtypeandhashare null terminated strings, so don't go doing anything weird with them. keep them terminated. periodt. π
and that's the whole page!! π§ this little gem comes from libmetalink 0.0.3, dated 10/28/2008 β yeah, she's an elder icon but she still ate. go forth and hash responsibly, 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