gnutls_priority_mac_list(3)

✨ gnutls_priority_mac_list(3) ✨

okay bestie, so this is a page from the gnutls manual, and today's main character is gnutls_priority_mac_list. it's giving "let me peek inside your priority cache" energy, and honestly? we love a little peek. πŸ’…


🌸 NAME 🌸

gnutls_priority_mac_list β€” it's an API function, babes. that's the whole name. short, sweet, iconic. πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <gnutls/gnutls.h>

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

like, that's the whole vibe. you include the header, you call the function, you get results. no cap. ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • gnutls_priority_t pcache β€” bestie this is a gnutls_priority_t type. that's it. that's the tea. it's your priority cache and it's coming along for the ride. 🫢
  • const unsigned int ** list β€” okay so this one is a pointer-to-a-pointer situation (very main character, very mysterious πŸ’€) and when the function is done with it, it will point to an integer list. so you hand it a spot and it fills that spot with a list. periodt.

πŸ’– DESCRIPTION πŸ’–

so like, the whole point: you get a list of the available MAC algorithms that are chillin' inside the priority structure. that's it. that's the function. it's lowkey just showing you what's in there. 🌈


⭐ RETURNS ⭐

it hands you back the number of items, or β€” plot twist β€” an error code. so like, always check, okay? don't just assume it ate. πŸ™ˆ


πŸ•°οΈ SINCE πŸ•°οΈ

3.2.3. ancient. vintage. a classic. it's been serving looks since before some of y'all were even born. πŸ’œ


πŸ› REPORTING BUGS πŸ›

found a bug? don't be shy, tell the girlies. report bugs 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. (translation: you can share it, 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/

and that's the page, bestie!! πŸŽ€ this one's from gnutls version 3.8.13 β€” she's all grown up and still slaying. mwah. πŸ’–πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from