gnutls_transport_get_int(3)
π gnutls_transport_get_int(3) π
okay bestie, so this one lives in the gnutls manual, and it's genuinely one of the cutest tiny functions ever. no cap. it's called gnutls_transport_get_int and it's an API function, periodt. β¨
β¨ SYNOPSIS β¨
#include <gnutls/gnutls.h>
int gnutls_transport_get_int(gnutls_session_t session);
like, that's the whole thing. one include, one function, one vibe. π
πΈ ARGUMENTS πΈ
gnutls_session_t sessionβ bestie this is literally just agnutls_session_ttype. that's it. that's the argument. π
π¦ DESCRIPTION π¦
so what does it do?? it's used to get the first argument of the transport function β you know, the ones like PUSH and PULL. π«Ά
and like, important detail: that value must have been set using gnutls_transport_set_int(). so it's not just vibing there on its own, somebody had to put it there first. it's giving "you have to set it before you get it." iconic honestly. π
β RETURNS β
it returns the first argument of the transport function. that's the whole return value. no plot twist. π
π SINCE π
3.1.9 β so it's been around a minute, it's not new new. main character energy since day one basically. π
π REPORTING BUGS π
found something cursed?? report bugs to <bugs@gnutls.org>. π
home page is right here: 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, share it, remix it, just keep the receipts. π«‘
π SEE ALSO π
the full documentation for gnutls is maintained as a Texinfo manual. so if the /usr/share/doc/gnutls/ directory does not contain the HTML form, bestie you gotta go visit:
https://www.gnutls.org/manual/
that's where the whole lore lives. iykyk. π§
π lowkey reminder: this is the getter. the setter is a whole separate function. don't mix them up, bestie, or your transport args will be giving absolutely nothing. π
that's the page!! it's from gnutls 3.8.13, and it's gnutls_transport_get_int(3) forever and always. 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