TLSRPT_ADD_POLICY_STRING(3)
β¨ tlsrpt_add_policy_string β the manual page, bestie edition β¨
okay so you opened TLSRPT_ADD_POLICY_STRING(3) and honestly? slay. let's get into it π
π NAME π
tlsrpt_add_policy_string β adds a policy string to describe the current policy π
like, it literally just drops a policy string in so the current policy gets described. that's the whole vibe. no cap. π¦
πΈ SYNOPSIS πΈ
#include <tlsrpt.h>
int tlsrpt_add_policy_string(struct tlsrpt_dr_t* dr, const char* policy_string)
yes bestie, that's a struct tlsrpt_dr_t* pointer and a const char* β two little arguments and you're off. β¨
π«Ά DESCRIPTION π«Ά
so the tlsrpt_add_policy_string function adds a policy string to describe the current policy. that's it, that's the job. very main character of it honestly π
and here's the part that's lowkey iconic: multiple policy strings can be added within one policy. so you're not limited to one β stack them up, collect them like stickers, the function does not gatekeep. π
π₯ RETURN VALUE π₯
tlsrpt_add_policy_string returns 0 on success π and a combined error code on failure π.
and the way you investigate that failure?? you take that combined error code and analyze it with the tlsrpt_strerror function. it's giving detective energy, it's giving iykyk πβ¨
π SEE ALSO π
man:tlsrpt_strerror[3]man:tlsrpt_error_code_is_internal[3]
go read those too, bestie, they're the supporting cast and they understood the assignment π
π AUTHOR π
Boris Lohner π
that's the whole page, periodt. π
and for the cute sign-off moment: this lil masterpiece lives under tlsrpt_add_policy_string, dated 2026-05-12, filed in the TLSRPT_ADD_POLICY_STRING(3) section of the manual. so iconic of it, fr fr π¦β¨
π¦ where this page comes from
- ubuntu stonking: libtlsrpt0-dev 0.5.1~rc1-2 Β· LGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms