gnutls_compression_get_name(3)

πŸ’– gnutls_compression_get_name β€” the manual page, but make it cute πŸ’–

okay bestie, welcome to the gnutls manual, section 3 πŸŽ€ this one's a tiny lil function but she's important, so let's get into it.


✨ NAME ✨

gnutls_compression_get_name β€” literally just an API function, that's the whole vibe 🌸


🌈 SYNOPSIS 🌈

#include <gnutls/compat.h>

const char * gnutls_compression_get_name(gnutls_compression_method_t
algorithm);
heads up bestie: she lives in <gnutls/compat.h> β€” yes, the compat header, iykyk πŸ‘€

πŸ¦‹ ARGUMENTS πŸ¦‹

  • gnutls_compression_method_t algorithm β€” this is a Compression algorithm. that's it, that's the whole input, she's lowkey not complicated πŸ’…

πŸ‘‘ DESCRIPTION πŸ‘‘

Convert a gnutls_compression_method_t value to a string. that's the entire job. take the enum, hand back the name. main character energy but make it one line ✨


🫢 RETURNS 🫢

a pointer to a string that contains the name of the specified compression algorithm β€” or NULL. so like, check her before you use her, fr fr 😭


πŸ’€ REPORTING BUGS πŸ’€

found something cursed? tell the devs, they wanna know:


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, that's a very generous license honestly πŸ’–


🌸 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 🧚 no cap, you now know everything this function does. this was gnutls version 3.8.13, page gnutls_compression_get_name(3) β€” go forth and get those names, periodt πŸ’…βœ¨

πŸ“¦ where this page comes from