gnutls_session_is_resumed(3)

πŸ’– gnutls_session_is_resumed(3) πŸ’–

okay bestie, sit down, hydrate, and let me tell you about a lil function from the gnutls manual that is genuinely so iconic ✨


🌸 NAME 🌸

gnutls_session_is_resumed β€” it's an API function, and it does exactly one thing: it tells you if your session is a resumed one or a fresh-out-the-box new one πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <gnutls/gnutls.h>

int gnutls_session_is_resumed(gnutls_session_t session);

✨ ARGUMENTS ✨

  • gnutls_session_t session β€” bestie this is a gnutls_session_t type. that's it. that's the whole argument. she's low maintenance πŸ’…

πŸ’œ DESCRIPTION πŸ’œ

So the vibe here is: this function checks whether session is resumed or not. Like, is this session picking up where a previous one left off, or are we starting fresh? πŸ‘‘

And the best part? It's functional for both the server side and the client side. equal opportunity resume-detection, periodt πŸ’–


🌈 RETURNS 🌈

  • non zero β†’ if this session is resumed πŸŽ‰
  • zero β†’ if this is a new session 🍼

that's the whole vibe check, no cap.


πŸ™ˆ REPORTING BUGS πŸ™ˆ

Found a bug? Not me gatekeeping the contact info, here it is:


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, honestly 🫢


πŸŽ€ 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/


okay that's the whole page bestie, go forth and check your sessions πŸ’–

this was gnutls_session_is_resumed(3) from the gnutls manual, version 3.8.13 β€” mwah, take care of her, she's iconic β­πŸ§šπŸ’œ

πŸ“¦ where this page comes from