gnutls_transport_get_ptr2(3)
π gnutls_transport_get_ptr2(3) π
okay bestie, so this page lives in the gnutls manual and it's literally the getter for your transport function pointers. lowkey iconic. let's go π¦
β¨ NAME β¨
gnutls_transport_get_ptr2 β API function
no cap, that's the whole name. short king. π
πΈ SYNOPSIS πΈ
#include <gnutls/gnutls.h>
void gnutls_transport_get_ptr2(gnutls_session_t session,
gnutls_transport_ptr_t * recv_ptr, gnutls_transport_ptr_t * send_ptr);
yes she takes a session and two out-params, we love a two-for-one deal π
π ARGUMENTS π
gnutls_session_t sessionβ bestie this is agnutls_session_ttype. that's it, that's the vibe.gnutls_transport_ptr_t * recv_ptrβ this pointer is gonna hold the value for the pull function. she's the receiver. π«Άgnutls_transport_ptr_t * send_ptrβ and this one will hold the value for the push function. the sender. the moment. β¨
π¦ DESCRIPTION π¦
so the way that this works is: you use this function to get the arguments of the transport functions (like PUSH and PULL). think of it as checking what you already set up.
and btw, those values should have been set using gnutls_transport_set_ptr2(). so if you never called that one, likeβ¦ girl what are you even doing here π go set them first.
π REPORTING BUGS π
found a bug? not me gatekeeping the bug report:
- 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.
(translation: it's free, just keep the receipts, periodt π)
π 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, bestie, you ate. this was gnutls 3.8.13 energy through and through, straight from the gnutls_transport_get_ptr2(3) era β go forth and get those pointers π§ββοΈβπ
π¦ 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