gnutls_compression_list(3)

πŸ’… gnutls_compression_list(3) πŸ’…

okay bestie, welcome to the gnutls section of the manual, page three, and today's main character is literally called gnutls_compression_list. yes it's a whole function. yes it's about compression. no we're not skipping any of it. πŸŽ€


✨ NAME ✨

gnutls_compression_list β€” it's an API function, that's the whole name, that's the whole job title 🫢


🌸 SYNOPSIS 🌸

so here's how you let your code know this exists:

#include <gnutls/compat.h>

const gnutls_compression_method_t * gnutls_compression_list( void);

like, the vibes here are immaculate: you pull in <gnutls/compat.h> and then you're handed back a pointer to const gnutls_compression_method_t. slay.


πŸ¦‹ ARGUMENTS πŸ¦‹

  • void β€” bestie, there are no arguments. none. zero. it takes absolutely nothing and it's thriving. icon behaviour honestly. πŸ’…

🌈 DESCRIPTION 🌈

Get a list of compression methods. ✨

that's it. that's the whole thing. it gives you the list, you get the list, everybody eats. πŸ”₯


⭐ RETURNS ⭐

it hands you back a zero-terminated list of gnutls_compression_method_t integers that indicate the available compression methods. πŸ‘‘

zero-terminated means you keep reading until you hit that lil zero, okay? that's your stop sign, don't keep going past it. πŸ™ˆ

😭 REPORTING BUGS 😭

found something cursed? tell the devs, not the group chat:


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. 🫢 (yes this part is legally load-bearing, do not touch it, it's giving very much do not remove this sticker energy)


πŸ’œ 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, then bestie you gotta go visit:

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

like literally just click it. it's right there. 🌸


and that's a wrap on gnutls_compression_list(3) from the gnutls manual, version 3.8.13 β€” mwah, no notes, go read your compression methods. πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from