gsasl_session_hook_get(3)
β¨ NAME β¨
gsasl_session_hook_get β an API function, bestie π
(it lives in the gsasl manual, section 3, and it's giving "tiny function, big main character energy")
πΈ SYNOPSIS πΈ
#include <gsasl.h>
void * gsasl_session_hook_get(Gsasl_session * sctx);
π ARGUMENTS π
Gsasl_session * sctxβ the libgsasl session handle. like, the actual session you're poking at π«Ά
π DESCRIPTION π
okay so basically: this function retrieves application specific data from a libgsasl session handle. that's it. that's the whole vibe. β¨
the application data gets set using gsasl_callback_hook_set(). this is normally used by the application to maintain a per-session state between the main program and callbacks β so you stash your stuff in there, and your callbacks can go grab it later. no cap, it's the little pocket in your session's backpack π
Return value: returns the application specific data, or NULL. (so like, check for NULL, bestie, don't just start dereferencing it π)
π¦ SINCE π¦
0.2.14 β vintage, but still iconic π
π REPORTING BUGS π
found something cursed? report bugs to <bug-gsasl@gnu.org>. π¬
general guidelines for reporting bugs: https://www.gnu.org/gethelp/
GNU SASL home page: https://www.gnu.org/software/gsasl/
π COPYRIGHT π
Copyright Β© 2002-2026 Simon Josefsson.
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, keep the receipts π)
π₯ SEE ALSO π₯
the full documentation for gsasl is maintained as a Texinfo manual. if the info and gsasl programs are properly installed at your site, the command
info gsasl
should give you access to the complete manual. π and as an alternative you may obtain the manual from:
https://www.gnu.org/software/libidn/gsasl/manual/
no notes, no missing details, we ate and left absolutely no crumbs π
and that's a wrap, babe π«Ά this was the gsasl_session_hook_get(3) page out of the gsasl manual β version 2.2.4 β from the GNU SASL squad. go forth and hook responsibly π
β¨
π¦ where this page comes from
- arch rolling: gsasl 2.2.4-1 Β· LGPL-2.1-or-later AND GPL-3.0-or-later AND GFDL-1.3-or-later
- ubuntu stonking: libgsasl-dev 2.2.4-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms