gnutls_sec_param_get_name(3)
π gnutls_sec_param_get_name(3) π
okay bestie, so this one lives in the gnutls manual (yeah, the whole manual, it's a big deal) and it's literally the cutest lil lookup function in the whole library. let me put you on.
β¨ NAME β¨
gnutls_sec_param_get_name β it's an API function, periodt π
πΈ SYNOPSIS πΈ
#include <gnutls/gnutls.h>
const char * gnutls_sec_param_get_name(gnutls_sec_param_t param);
π ARGUMENTS π
gnutls_sec_param_t paramβ bestie. it's a security parameter. that's the whole vibe. that's what you're handing over. π«Ά
π¦ DESCRIPTION π¦
so basically it takes a gnutls_sec_param_t value and converts it to a string. that's it. that's the function. it's giving translator, it's giving "let me tell you what this enum is actually called in human words". iconic behavior fr fr β¨
β RETURNS β
it hands you back a pointer to a string containing the name of the security level you asked about. and if it doesn't know? NULL. no name, no vibe, just NULL. π
π SINCE π
2.12.0 β yeah it's been around a minute, lowkey a legend π
π REPORTING BUGS π
found a bug? not me being the one to find it but okay. report it to <bugs@gnutls.org>.
home page is right here: https://www.gnutls.org π
π COPYRIGHT π
Copyright Β© 2001-2023 Free Software Foundation, Inc., and others.
copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. (so like, go off, just keep the receipt π§Ύ)
π SEE ALSO π
the full documentation for gnutls is maintained as a Texinfo manual. if the /usr/share/doc/gnutls/ directory does not contain the HTML form, visit:
https://www.gnutls.org/manual/
ngl the whole "if the dir doesn't have the HTML, go to the website" thing is so real of them π
and that's the page, bestie!! sign-off time: this was gnutls 3.8.13 and it's the gnutls_sec_param_get_name(3) page, mwah π go read some more manpages, i'm obsessed with you πβ¨π¦
π¦ where this page comes from
- alpine 3.22: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.23: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.24: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- arch rolling: gnutls 3.8.13-3 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- ubuntu stonking: gnutls-doc 3.8.13-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms