gnutls_group_list(3)

✨ gnutls_group_list ✨

okay bestie, gather round, we're looking at gnutls_group_list β€” an API function from the gnutls manual πŸ’– it's a lil function, but it's iconic.


🌸 SYNOPSIS 🌸

#include <gnutls/gnutls.h>

const gnutls_group_t * gnutls_group_list( void);

like. that's it. that's the whole call. no args, no drama πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • void β€” literally nothing. she takes no arguments. she's self-sufficient, she's giving independent woman energy πŸ‘‘

πŸ’… DESCRIPTION πŸ’…

okay so the tea is: this function hands you the list of supported elliptic curves. that's it, that's the whole vibe. you call it, you get the groups. slay ✨

but bestie, listen. This function is not thread safe. so don't be out here calling it from a million threads at once like it's a group chat, because it is NOT built for that. guard it, lock it, protect her πŸ™ˆ

🌈 RETURNS 🌈

she returns a (0)-terminated list of gnutls_group_t integers, and those integers are the available groups πŸ’– so you walk the array until you hit that 0 and you're done. no cap.


⭐ SINCE ⭐

3.6.0 β€” she's been here since 3.6.0, a true OG πŸ‘‘


🫢 REPORTING BUGS 🫢

found a bug? not her fault but ok, tell the devs:

they're nice, they'll fix 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. πŸ’œ (yes queen, copy away, just keep the receipts.)


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

like, the whole lore is in there, iykyk πŸ“š


and that's the whole page bestie!! this was gnutls 3.8.13, the gnutls_group_list(3) page, brought to you by the gnutls manual. mwah πŸ’‹ go forth and enumerate your curves βœ¨πŸ¦‹πŸ’–

πŸ“¦ where this page comes from