TLSRPT_VERSION_CHECK(3)
π TLSRPT_VERSION_CHECK(3) β like, the whole vibe check for your libtlsrpt version β¨
okay bestie, this is a page from the tlsrpt_version_check manual (section 3 of the manual set, iykyk), and honestly? it's short, it's sweet, and it's about to save you from a linker situation that would otherwise ruin your entire day. π
β¨ NAME β¨
tlsrpt_version_check β the little function that checks whether the version of libtlsrpt is compatible with the calling program π¦
πΈ SYNOPSIS πΈ
#include <tlsrpt.h>
int tlsrpt_version_check(int major, int minor, int patch)
π DESCRIPTION π
so. the tlsrpt_version_check function checks whether the version of libtlsrpt is compatible with the calling program. that's it. that's the whole job. iconic, honestly. π
here's the scenario, because it's giving "you need to know this": a program compiled with libtlsrpt version a.b.c can call tlsrpt_version_check(a, b, c) to determine if the loaded library is compatible with the program. you pass in the version you were built against, the loaded library tells you if it's down with that. matching energies. π«Ά
like matching friendship bracelets but for ABI compatibility, and if the bracelets don't match you found out before the chaos instead of after. very main character energy of this function, tbh. β¨
β RETURN VALUE β
the tlsrpt_version function returns 1 when the library is compatible with the calling program and 0 otherwise. that's the whole answer. 1 = slay, we're compatible. 0 = nope, not this one. π
ngl, the docs here saytlsrpt_versionand nottlsrpt_version_checkβ that's literally what's written, so I'm passing it straight to you, no edits, no notes, no cap. π
π SEE ALSO π
man:tlsrpt_version_check[3]β yes, it's linking you to itself. self-referential queen behavior. we love a function that knows its own lore. π
π AUTHOR π
Boris Lohner π β the mastermind behind this whole thing. say thank you.
and that's the page!! π written under the TLSRPT_VERSION_CHECK(3) name, dated 2026-09-01, with tlsrpt_version_check as the source on the official copy β so when you cite me, cite it cute. bye bestie, go check those versions ππ§
π¦ where this page comes from
- arch rolling: libtlsrpt 0.5.1-1 Β· LGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms