gnutls_handshake_get_last_in(3)

πŸ’– gnutls_handshake_get_last_in(3) πŸ’–

okay bestie, welcome to the gnutls manual, this one's a lil detective tool and honestly it's giving forensics πŸ”βœ¨


✨ NAME ✨

gnutls_handshake_get_last_in β€” the API function that tells you which handshake message came in last 🫢


🌸 SYNOPSIS 🌸

#include <gnutls/gnutls.h>

gnutls_handshake_description_t
gnutls_handshake_get_last_in(gnutls_session_t session);

πŸŽ€ ARGUMENTS πŸŽ€

  • gnutls_session_t session β€” it's a gnutls_session_t type, that's the vibe πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so lowkey this function has one job and one job only: it's for checking where the last handshake that actually ran went off the rails 😭 It is only useful for figuring out where the last performed handshake failed.

And here's the tea β˜• β€” if the previous handshake succeeded, or if no handshake was performed at all, then no meaningful value is gonna come back. Like, don't @ me, there's just nothing to report πŸ™ˆ

If you wanna see the available handshake descriptions, go check gnutls_handshake_description_t in gnutls.h β€” that's where the whole lineup lives πŸ‘‘


⭐ RETURNS ⭐

the last handshake message type received β€” a gnutls_handshake_description_t, periodt πŸ’œ


πŸ”₯ REPORTING BUGS πŸ”₯

found a bug? not the fun kind 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. (fr fr, go wild, just keep the notice 🌈)


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


and that's the whole page, no cap πŸŽ€ this was gnutls 3.8.13, mwah, bye bestie πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from