gnutls_ext_get_data(3)

πŸ’– gnutls_ext_get_data(3) πŸ’–

okay so bestie, welcome to the gnutls manual page for gnutls_ext_get_data β€” yes it's a real page from the gnutls docs, yes it's short, and yes we are still gonna make it cute. pull up a chair 🫢


✨ NAME ✨

gnutls_ext_get_data β€” the API function that goes and fetches your extension's private data back out. it's giving retrieval era πŸ”₯


🌸 SYNOPSIS 🌸

#include <gnutls/gnutls.h>

int gnutls_ext_get_data(gnutls_session_t session, unsigned tls_id,
gnutls_ext_priv_data_t * data);

look at her. so clean. so #include <gnutls/gnutls.h> coded of her πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • gnutls_session_t session β€” a gnutls_session_t opaque pointer, aka the session we're snooping in. you don't get to see inside her, she's opaque, respect her privacy bestie 😌
  • unsigned tls_id β€” the numeric id of the extension. the number!! the id!! she's numbered!! πŸ”’
  • gnutls_ext_priv_data_t * data β€” a pointer to the private data you wanna retrieve. this is the lil basket you're carrying the data home in 🧺

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically? this function retrieves any data you previously stashed away with gnutls_ext_set_data(). that's it. that's the whole vibe. you put it in, you get it back out. reciprocity icon behavior fr fr ✨


⭐ RETURNS ⭐

  • GNUTLS_E_SUCCESS when it works β€” success era, we love to see it πŸ‘‘
  • otherwise? a negative error code. not a good vibe. read it, don't ignore it, iykyk πŸ’€

🌈 SINCE 🌈

3.4.0 β€” she's been around since 3.4.0, a seasoned queen, lowkey a legend at this point πŸŽ€


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? do NOT suffer in silence, bestie. 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. no royalty, all love β€” literally the most generous license energy, we stan 🫢


πŸ‘‘ 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/

go read it. it's giving lore. πŸ“šβœ¨


and that's the page!! this was gnutls manual, version 3.8.13, and the date on the tin is 3.8.13 too β€” shoutout to the whole gnutls team, mwah πŸ’‹ bye bestie, go get your data back πŸ¦‹πŸ’–

πŸ“¦ where this page comes from