gnutls_protocol_get_version(3)

✨ gnutls_protocol_get_version ✨

okay bestie, welcome to the gnutls manual πŸ’– this is the page for gnutls_protocol_get_version(3), and it's genuinely so cute and simple, you're gonna eat.


πŸŽ€ NAME πŸŽ€

gnutls_protocol_get_version β€” an API function, that's it, that's the whole vibe πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <gnutls/gnutls.h>

gnutls_protocol_t gnutls_protocol_get_version(gnutls_session_t session);

look at her. one include, one function, zero drama. iconic ✨


🌸 ARGUMENTS 🌸

  • gnutls_session_t session β€” bestie this one is literally just a gnutls_session_t type. that's the whole description. she is what she is πŸ’œ

🧚 DESCRIPTION 🧚

so the way that this works: it gets you the TLS version, returned as a gnutls_protocol_t value. that's it. that's the tea πŸ“


πŸ‘‘ RETURNS πŸ‘‘

it hands you back the version of the protocol that's currently being used. like, right now, in this session. main character energy fr fr πŸ’…


πŸ’€ REPORTING BUGS πŸ’€

found a bug? no cap, tell the gnutls girlies about it:


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.

like, go ahead and share it, just keep the receipts okay? 🫢

🌈 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/

and that's the whole page bestie, you understood it, slay πŸŽ€

this was the gnutls gnutls_protocol_get_version(3) page, version 3.8.13 β€” mwah, bye, ily πŸ’œβœ¨

πŸ“¦ where this page comes from