gnutls_transport_get_int2(3)
π gnutls_transport_get_int2(3) π
okay bestie, welcome to the gnutls manual, and specifically to this lil cutie right here: gnutls_transport_get_int2. she's an API function, she's lowkey iconic, and she's here to hand you back the ints you stashed away earlier. let's get into it π«Ά
β¨ SYNOPSIS β¨
#include <gnutls/gnutls.h>
void gnutls_transport_get_int2(gnutls_session_t session, int * recv_int,
int * send_int);
no cap, that's the whole signature. void return, two pointers out, one session in. slay. π
πΈ ARGUMENTS πΈ
gnutls_session_t sessionβ bestie this is literally just agnutls_session_ttype. the main character of the call. πint * recv_intβ this lil pointer is gonna hold the value for the pull function. she's the receiver. she catches. πint * send_intβ and this one's gonna hold the value for the push function. she pushes. she sends. periodt. β¨
π DESCRIPTION π
so here's the vibe: this function is used to get the arguments of the transport functions (like PUSH and PULL). think of it as going back to the group chat and reading what you said earlier β the receipts, if you will. π§Ύ
those arguments should have been set using gnutls_transport_set_int2(). so if you never called that, bestie... the vibe check might not go how you want. π
tl;dr β set them with gnutls_transport_set_int2(), then read them back with this. it's giving symmetry. it's giving balance. it's giving the way that this API is designed. π
β SINCE β
3.1.9
so yeah, she's been around since 3.1.9. vintage but still serving. π₯
π¦ REPORTING BUGS π¦
found a bug? not me finding a bug π β report it to <bugs@gnutls.org>.
home page, for when you need the whole vibe: 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, share it, remix it, whatever β just 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, go visit:
https://www.gnutls.org/manual/
that's the mothership. that's where the lore lives. iykyk. π
and that's the whole page bestie!! this was gnutls version 3.8.13, page gnutls_transport_get_int2(3), and you absolutely ate reading all of it. go forth and get those ints. mwah π
β¨π
π¦ 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