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β agnutls_session_topaque 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_SUCCESSwhen 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 π
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
- alpine 3.22: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.23: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.24: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- arch rolling: gnutls 3.8.13-3 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- ubuntu stonking: gnutls-doc 3.8.13-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms