gnutls_transport_is_ktls_enabled(3)

πŸ’– gnutls_transport_is_ktls_enabled(3) πŸ’–

okay bestie, we're in the gnutls manual and this one is literally the kTLS vibe-check function. she's short, she's sweet, she tells you if kernel TLS actually woke up. let's go πŸ¦‹


✨ NAME ✨

gnutls_transport_is_ktls_enabled β€” API function πŸ’…


🌸 SYNOPSIS 🌸

#include <gnutls/gnutls.h>

gnutls_transport_ktls_enable_flags_t
gnutls_transport_is_ktls_enabled(gnutls_session_t session);

πŸŽ€ ARGUMENTS πŸŽ€

  • gnutls_session_t session β€” bestie this is a gnutls_session_t type. that's it. that's the whole arg. she just wants the session πŸ‘‘

πŸ’œ DESCRIPTION πŸ’œ

so what does she do? she checks if KTLS is now enabled and was properly inicialized. that's the tea β˜• no cap.

yes we're keeping the original spelling "inicialized" because that's literally what the page says and we do not edit the source. iconic of her tbh πŸ™ˆ

⭐ RETURNS ⭐

she hands back one of these bad boys:

  • GNUTLS_KTLS_RECV
  • GNUTLS_KTLS_SEND
  • GNUTLS_KTLS_DUPLEX

…otherwise 0. so if you get a 0, that's the "not today" energy πŸ’€


🌈 SINCE 🌈

3.7.3 β€” she's been around since then, an OG fr fr 🫢


πŸ› REPORTING BUGS πŸ›

found a bug? do NOT suffer in silence bestie, report it to <bugs@gnutls.org>. ✨

home page: 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. slay, legally πŸ’–


πŸ¦‹ 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/

go read it, it's giving encyclopedia but make it gnutls πŸ“š


and that's the whole page, bestie!! this was gnutls version 3.8.13, page gnutls_transport_is_ktls_enabled(3), brought to you by the gnutls girlies. mwah πŸ’‹ stay encrypted, stay iconic, periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from