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 a gnutls_x509_trust_list_t type. 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 Β© 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