gnutls_priority_protocol_list(3)
π gnutls_priority_protocol_list(3) β the gnutls manual, bestie edition π
okay so real talk, this one lives in the gnutls manual (yes, that gnutls, the TLS library that's literally everywhere), and it's the little function that spills the tea on which TLS versions your priority setup actually has in it. shall we? π«Ά
β¨ NAME β¨
gnutls_priority_protocol_list β and yes, that's an API function, no cap π
πΈ SYNOPSIS πΈ
#include <gnutls/gnutls.h>
int gnutls_priority_protocol_list(gnutls_priority_t pcache, const
unsigned int ** list);
bestie look at that signature, it's giving tiny but powerful π
π ARGUMENTS π
gnutls_priority_t pcacheβ this one is agnutls_priority_ttype. that's the vibe. that's what it is. π¦const unsigned int ** listβ this is a pointer-to-pointer situation (iykyk) and it will point to an integer list. that's literally its whole job, it's so real of it β¨
π₯ DESCRIPTION π₯
so what does it do?? it gets you a list of the available TLS version numbers that are chillin' inside the priority structure. that's it. that's the function. no drama, just protocols π
π RETURNS π
it hands you back the number of protocols β or, if things go sideways, an error code. either way you're getting a number, just maybe not the fun kind π
β SINCE β
3.0 β she's been here since 3.0, an icon, a legend, we stan a stable queen π
π REPORTING BUGS π
found a bug? don't be shy, tell the gnutls people directly:
- 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.
that's the legal bit and it's lowkey important, don't skip it bestie π
π¦ 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 fr fr π«Ά this came out of gnutls 3.8.13, so if you're reading a different version bestie... vibe check your docs π mwah, go slay your TLS config β¨πΈ
π¦ 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