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 agnutls_session_ttype. 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 π
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
- alpine 3.22: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.23: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.24: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- arch rolling: gnutls 3.8.13-3 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- ubuntu stonking: gnutls-doc 3.8.13-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms