gnutls_priority_string_list(3)
β¨ gnutls_priority_string_list β¨
ok so bestie, welcome to another page of the gnutls manual π yes we're still in there, no we're not leaving, this is the one about listing priority strings and honestly? it's giving very helpful.
πΈ NAME πΈ
gnutls_priority_string_list β an API function π that lets you peek at all the priority strings, one by one, like scrolling a playlist π§
π¦ SYNOPSIS π¦
#include <gnutls/gnutls.h>
const char * gnutls_priority_string_list(unsigned iter, unsigned int
flags);
π ARGUMENTS π
unsigned iterβ an integer counter that starts from zero, bestie. like index 0, 1, 2β¦ you know the drill π«Άunsigned int flagsβ one ofGNUTLS_PRIORITY_LIST_INIT_KEYWORDS,GNUTLS_PRIORITY_LIST_SPECIALβ¨ pick your vibe
π₯ DESCRIPTION π₯
okay so here's the tea β you can use this to iterate over all the available priority strings. literally all of them. one at a time. main character energy, one string per call π
but wait β due to internal implementation details, there are cases where this function can return the empty string. and when it does? ignore it. don't @ it. it's not real. π
and when there are genuinely no strings left to give? it returns NULL. that's your cue that the list is done, periodt π
π RETURNS π
a priority string π (or NULL when there's nothing left, or possibly an empty string that you should just ignore, remember? iykyk)
β SINCE β
3.4.0 β she's been iconic since 3.4.0, no cap π
π REPORTING BUGS π
found a bug? spill it:
- 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. (basically: share it, remix it, just keep the receipts π§Ύβ¨)
π 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/
okay that's the whole page bestie, you ate that π go iterate some priority strings and slay π¦
this has been the gnutls manual, version 3.8.13, page gnutls_priority_string_list(3) β mwah, sending love, stay encrypted ππβ¨
π¦ 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