gnutls_priority_compression_list(3)

✨ gnutls_priority_compression_list ✨

okay bestie, so this one lives in the gnutls manual, and it's literally the function that tells you which compression methods your priority setup is holding onto πŸ’–


🌸 SYNOPSIS 🌸

#include <gnutls/compat.h>

int gnutls_priority_compression_list(gnutls_priority_t pcache, const
       unsigned int ** list);

no cap, that's the whole signature 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • gnutls_priority_t pcache β€” bestie, this is a gnutls_priority_t type. that's it, that's the vibe.
  • const unsigned int ** list β€” this one's the main character: it will point to an integer list. so like, after the call, *list is your list. iconic behaviour honestly.

πŸ¦‹ DESCRIPTION πŸ¦‹

so what it does is: it gets you a list of the available compression methods inside the priority structure πŸ’…

basically you hand it your pcache, it hands you back the list. no drama, no notes.


⭐ RETURNS ⭐

it gives you the number of methods β€” or, plot twist, an error code 😭 so check it, fr fr.


🌈 SINCE 🌈

3.0 β€” she's been around since 3.0, an OG πŸ’œ


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? not the vibe. report it to <bugs@gnutls.org> and they'll handle it 🫢

home page, if you wanna scroll: https://www.gnutls.org


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.


πŸ’– 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, go visit:

https://www.gnutls.org/manual/

heads up bestie: this one's pulled in via #include <gnutls/compat.h> β€” that's the compat header, so it's giving "legacy but still here" energy 🌸

and that's a wrap ✨ this page is from gnutls, version 3.8.13 β€” go slay, mwah πŸ’…πŸŽ€πŸ’œ

πŸ“¦ where this page comes from