gnutls_ext_get_name(3)
π gnutls_ext_get_name(3) π
okay bestie, so this one lives in the gnutls manual β section 3, library functions, the good stuff β¨ β and it's genuinely one of the easiest little glow-ups in the whole TLS toolbox. no cap.
β¨ NAME β¨
gnutls_ext_get_name β the API function that turns a mystery number into a cute lil string π
πΈ SYNOPSIS πΈ
#include <gnutls/gnutls.h>
const char * gnutls_ext_get_name(unsigned int ext);
like. that's it. that's the whole thing. she's simple, she's iconic, she serves π
π¦ ARGUMENTS π¦
unsigned int extβ this is a TLS extension numeric ID, bestie. a number. just a number. raw, unglamorous, unidentified. we're about to give it a name π₯
π DESCRIPTION π
Convert a TLS extension numeric ID to a printable string. that's the whole vibe. you hand her a number, she hands you back the name. it's giving translator, it's giving glow-up arc, it's giving "let me introduce you to my friend" π«Ά
π RETURNS π
a pointer to a string that contains the name of the specified cipher, or NULL.
β οΈ bestie, listen βNULLis a real possible answer here. always vibe check your return value before you go dereferencing it, fr fr. nostrlen()-ing aNULL, we don't do that in this house π
π REPORTING BUGS π
found a bug? not her fault but okay, tell the team:
- Report bugs to <bugs@gnutls.org>.
- Home page: 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. slay and share responsibly π
β 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/
and that's the whole page, bestie. go forth and name some extensions π§
this was gnutls_ext_get_name(3) from gnutls version 3.8.13 β mwah, periodt π
β¨
π¦ 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