gnutls_x509_trust_list_get_ptr(3)
β¨ NAME β¨
gnutls_x509_trust_list_get_ptr β bestie, this is the API function that fishes your user pointer back out of a trust list π
πΈ SYNOPSIS πΈ
#include <gnutls/x509.h>
void * gnutls_x509_trust_list_get_ptr(gnutls_x509_trust_list_t tlist);
π ARGUMENTS π
gnutls_x509_trust_list_t tlistβ okay so this is agnutls_x509_trust_list_ttype. That's it. That's the whole argument. She's low maintenance π
π¦ DESCRIPTION π¦
Get the user pointer for tlist. Literally, that's the vibe.
It's useful inside a callback function β specifically gnutls_x509_trust_list_set_getissuer_function. And the pointer you get back here? It's the exact same one you set with gnutls_x509_trust_list_set_ptr(). No cap. It's giving "you put it there, now you're taking it back" π₯
π RETURNS π
The user given pointer from the tlist structure. Or NULL if it was never set β like, if nobody ever called the setter, you get nothing, and that's on periodt π
β SINCE β
3.7.0 β she's been around since 3.7.0, an icon honestly π«Ά
π REPORTING BUGS π
Found something cursed? Report bugs to <bugs@gnutls.org>. Do it, bestie, they wanna hear it π
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. Slay, and also legally binding, so keep the notice fr fr β¨
π§ 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 whole page, babe β this is the gnutls manual, version 3.8.13, for gnutls_x509_trust_list_get_ptr(3). Go set that pointer and get it back, you've got this πβ¨π
π¦ 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