GNUTLS_SESSION_GET_KEYLOG_FUNCTION(3)

πŸ’– gnutls_session_get_keylog_function(3) πŸ’–

okay bestie, so this one lives in the gnutls manual (yes, that gnutls β€” the TLS library, the one that keeps your little internet conversations private πŸ‘‘) and it's literally just a getter. like, the chillest function in the whole building. it goes and fetches the keylog callback you already set. that's it. that's the whole vibe. πŸŽ€


✨ SYNOPSIS ✨

#include <gnutls/gnutls.h>

gnutls_keylog_func gnutls_session_get_keylog_function(const
       gnutls_session_t session);

like yes, it's two lines, the header include and the call, do not panic, you got this 🫢


🌸 ARGUMENTS 🌸

  • const gnutls_session_t session β€” bestie this one is literally just a gnutls_session_t type. that's the whole description. no hidden lore, no twist, it's giving "the parameter is the parameter" πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically? this function hands you back the callback function that was set earlier using gnutls_session_set_keylog_function(). it's the read side of the read/write situation, the get to that set, the way that it just returns what you put in. no cap.


⭐ RETURNS ⭐

it gives you back the function that was set β€” or NULL if, well, there isn't one. (set nothing, get nothing, the universe stays balanced πŸ™ˆ)


🌈 SINCE 🌈

3.6.13 β€” so it's been here a minute, it's an icon, it's established, it ate and left no crumbs.


πŸ’€ REPORTING BUGS πŸ’€

found something cursed? report bugs 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. (yes bestie, go forth, just keep the receipts 🧾)


πŸ”₯ 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/


lowkey the most important thing: this is a getter, it doesn't change your session, it doesn't do anything spicy, it just tells you which keylog function is currently in the driver's seat. main character energy but make it read-only. πŸ’œ

k bye bestie, that's the whole page, mwah πŸ“

gnutls version 3.8.13 β€” sourced from the gnutls manual, and the footer didn't even bring a date, so consider this your cute lil sign-off: stay encrypted, stay slay βœ¨πŸ’–πŸ§š

πŸ“¦ where this page comes from