gnutls_priority_cipher_list(3)

πŸ’– gnutls_priority_cipher_list(3) πŸ’–

okay bestie, so this one lives in the gnutls manual (that's the manual name, iconic, we love her) and it's literally an API function. let's get into it 🫢


✨ NAME ✨

gnutls_priority_cipher_list β€” API function. that's it, that's the name, short and slay πŸ’…


🌸 SYNOPSIS 🌸

#include <gnutls/gnutls.h>

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

πŸŽ€ ARGUMENTS πŸŽ€

  • gnutls_priority_t pcache β€” this one is a gnutls_priority_t type. yes bestie, that's the whole vibe of it. πŸ’œ
  • const unsigned int ** list β€” this lil guy will point to an integer list. it's giving "output parameter", it's giving "i'm gonna hand you a pointer to a list", no cap. ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

Get a list of available ciphers in the priority structure. that's the whole thing, fr fr β€” you hand it your priority structure and it gives you back the ciphers that are chilling in there. 🌈


⭐ RETURNS ⭐

the number of items, or an error code. so either you get a count (yay πŸ’–) or you get an error code (😭). vibe check accordingly.


πŸ‘‘ SINCE πŸ‘‘

3.2.3 β€” been around since then, an absolute elder, we stan a legacy icon πŸ’…


πŸ› REPORTING BUGS πŸ›

found a bug? not the cute kind of bug (πŸ¦‹) β€” the bad kind (πŸ’€). report it to <bugs@gnutls.org>.

Home page: 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. (yes bestie, keep the receipt, that's the rule 🧚)


πŸ”₯ 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!! πŸ’œ this came from the gnutls manual, version 3.8.13 β€” go off, read the rest of the docs, you're doing amazing sweetie πŸŽ€βœ¨πŸ«Ά

πŸ“¦ where this page comes from