gnutls_transport_get_ptr(3)

πŸ’– gnutls_transport_get_ptr β€” the glow-up guide πŸ’–

okay bestie, so this is a page from the gnutls manual (section 3, the library-call girlies πŸŽ€), and it's all about peeking at the little pointer you stashed inside your session. let's get into it ✨


✨ NAME ✨

gnutls_transport_get_ptr β€” API function 🫢


🌸 SYNOPSIS 🌸

#include <gnutls/gnutls.h>

gnutls_transport_ptr_t gnutls_transport_get_ptr(gnutls_session_t
session);

πŸ¦‹ ARGUMENTS πŸ¦‹

  • gnutls_session_t session β€” bestie this is just a gnutls_session_t type. that's the whole vibe. that's the tea. πŸ’…

πŸ’œ DESCRIPTION πŸ’œ

so like, this function is the getter to the setter's setter, iykyk. it grabs the first argument of your transport function β€” think PUSH and PULL, those iconic queens πŸ‘‘

and here's the lowkey important part: this value must have been set using gnutls_transport_set_ptr() first. no setting, no getting. it's giving cause and effect. it's giving you-can't-return-what-you-never-sent. periodt πŸŽ€


⭐ RETURNS ⭐

the first argument of the transport function. that's it, that's the return. no cap ✨


😭 REPORTING BUGS 😭

found something cursed? spill it, fr fr β€” 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. so like, go off, but 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/

lowkey a whole lot of nothing to look at, but hey β€” sometimes the simplest getters are the main character πŸ’…

and that's the page, bestie!! 🌸✨ this one came from gnutls version 3.8.13, page gnutls_transport_get_ptr(3), dated 2001-2023 in the copyright β€” go forth and get your pointers, you icon πŸ«ΆπŸ‘‘πŸ’–

πŸ“¦ where this page comes from