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 agnutls_session_ttype. 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 π
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
- 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