gnutls_priority_group_list(3)

✨ gnutls_priority_group_list ✨

ok bestie so this is one of those gnutls manual pages β€” the library that does the TLS/SSL heavy lifting β€” and this particular function is the one that hands you back the list of available groups sitting inside a priority cache. it's giving "let me see what you're working with" energy fr fr πŸ’…


🌸 NAME 🌸

gnutls_priority_group_list β€” an API function, bestie. that's the whole vibe. it lists groups. that's it. and yet. iconic. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <gnutls/gnutls.h>

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

no cap, that's the signature. copy it exactly, don't freestyle it. 🫢


πŸ’– ARGUMENTS πŸ’–

  • gnutls_priority_t pcache β€” okay so this is a gnutls_priority_t type. it's your priority structure, your lil settings bundle. the main character of this function ngl. πŸ‘‘
  • const unsigned int ** list β€” and this one is gonna point to an integer list. yes bestie, it's a double pointer, it's the output slot, it's where the list shows up. ✨ so you pass in the address of your pointer and the function points it at the goods.

🧚 DESCRIPTION 🧚

get a list of available groups in the priority structure. literally that. you hand it your priority cache, it hands you back the groups it's got available in there. lowkey the most straightforward function in the whole library and honestly? we love a simple queen. πŸ’œ


πŸ’€ RETURNS πŸ’€

the number of items, or an error code. so like β€” count on success, sad little error code on failure. check it. always check it. πŸ™ˆ


⭐ SINCE ⭐

3.6.0 β€” so it's been around a minute. it's not new new, it's seasoned. elder emoji energy. 🌈


πŸ”₯ REPORTING BUGS πŸ”₯

found something cursed? tell the gnutls people, they're nice:

bestie do NOT suffer in silence with a bug. that's not the move. report it. πŸ’…

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.

(translation: you can copy and share this file however you want, no money needed, just keep the copyright notice and this notice. the legal girlies said be free. πŸ•ŠοΈ)


🌸 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/

that's the lore. the deep lore. go read it if you want the full picture, iykyk. πŸ“šβœ¨


and that's the whole page, bestie!! this one came out of gnutls 3.8.13 β€” shoutout to the gnutls_priority_group_list(3) manual section, we love her, we respect her, she tells you what groups you got. now go forth and enumerate. mwah πŸ’‹πŸ’–πŸ¦‹

πŸ“¦ where this page comes from