gnutls_priority_ecc_curve_list(3)

πŸ’… gnutls_priority_ecc_curve_list(3) β€” the gnutls manual, bestie edition

okay so hi 🫢 you're reading a page from the gnutls manual, and this one's about gnutls_priority_ecc_curve_list. it's a little vintage, a little deprecated, but we're gonna get you fluent anyway. let's go ✨


🌸 NAME 🌸

gnutls_priority_ecc_curve_list β€” it's an API function, bestie. that's the whole vibe.


✨ SYNOPSIS ✨

#include <gnutls/gnutls.h>

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

like. look at her. she's so simple. she's so elegant. she's deprecated but we'll get there 😭


πŸŽ€ ARGUMENTS πŸŽ€

  • gnutls_priority_t pcache β€” this one's a gnutls_priority_t type. that's the whole description. that's what the manpage says. i'm not gonna lie to you πŸ’€
  • const unsigned int ** list β€” this bad boy is gonna point at an integer list. so you hand her the address of a pointer, and she fills it in. main character energy fr fr πŸ‘‘

πŸ¦‹ DESCRIPTION πŸ¦‹

so what does she actually do? she gets you a list of all the available elliptic curves hanging out inside the priority structure. that's it. that's the function. curves. in a list. iconic πŸ’–


πŸ’€ DEPRECATED πŸ’€

not me having to tell you this... but this function has been replaced by gnutls_priority_group_list() since 3.6.0. so yeah. she's retired. she still works (probably, in whatever version you're on), but the glow-up already happened and it's called gnutls_priority_group_list(). use that one, bestie. periodt.

🌈 RETURNS 🌈

she gives you back the number of items, or an error code if things went sideways. so if you get a number, slay. if you get an error code... 😭


⭐ SINCE ⭐

3.0 β€” she's been here since 3.0. a true veteran. a legend. we respect her even in her retirement era 🫑


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found something cursed? report bugs to <bugs@gnutls.org>.

home page: https://www.gnutls.org β€” go say hi πŸ’œ


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, that's the real license text, i'm not paraphrasing the legal bits, i would never πŸ”₯)


🧚 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. go read the full thing. iykyk πŸ“š


and that's the whole page, bestie!! this was gnutls version 3.8.13, page gnutls_priority_ecc_curve_list(3) β€” thank you for coming to my ted talk, go use gnutls_priority_group_list() instead, mwah πŸ’…βœ¨πŸ’–

πŸ“¦ where this page comes from