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