gnutls_heartbeat_allowed(3)
π gnutls_heartbeat_allowed(3) π
okay bestie, welcome to the gnutls manual page for gnutls_heartbeat_allowed β¨ this one's short and sweet, so let's go π«Ά
πΈ NAME πΈ
gnutls_heartbeat_allowed β an API function, bestie. that's the whole name. it does exactly what it says on the tin π
β¨ SYNOPSIS β¨
#include <gnutls/gnutls.h>
unsigned gnutls_heartbeat_allowed(gnutls_session_t session, unsigned int
type);
like look at that signature. she's giving "small but mighty" π
π ARGUMENTS π
gnutls_session_t sessionβ is agnutls_session_ttype. yes, that's the literal description and honestly? iconic. it's the session, girl, that's the vibe πΈunsigned int typeβ one ofGNUTLS_HB_LOCAL_ALLOWED_TO_SENDandGNUTLS_HB_PEER_ALLOWED_TO_SENDπ¦ you pick which direction you're asking about β us sending, or the peer sending. pick wisely, there's literally only two options π
π DESCRIPTION π
so here's the tea: this function will check whether heartbeats are allowed to be sent or received in this session βοΈ
that's it. that's the whole job. she checks, she tells you, she moves on. no cap π
β RETURNS β
Non zero if heartbeats are allowed π₯
so like, if you get a nonzero back? allowed. if you get zero? not allowed. that's the whole vibe check, bestie π
π SINCE π
3.1.2 β she's been around a minute, lowkey a legend at this point π
π REPORTING BUGS π
found a bug? not me manifesting that, but if it happens:
- Report bugs to <bugs@gnutls.org>. π§
- Home page: https://www.gnutls.org π
please do actually report them, the maintainers wanna know fr fr π
π 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: you can copy and share this, just don't be weird about it and keep the copyright notice + this notice intact. 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/
like, go read the big manual, she's got the full lore πβ¨
and that's the page, bestie!! this was gnutls_heartbeat_allowed(3) from gnutls version 3.8.13, and honestly she ate π
π«Ά go check your heartbeats, stay slay, 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