gsasl_appinfo_get(3)
π gsasl_appinfo_get β the manual page, bestie edition π
okay so this is a page from the gsasl manual β section 3, gsasl_appinfo_get(3) β and we're gonna get through it together, no stress. grab a boba. π§
β¨ NAME β¨
gsasl_appinfo_get β literally just an API function. that's it. that's the whole name section. π
β¨ SYNOPSIS β¨
okay so the way you summon this thing is:
#include <gsasl.h>
void * gsasl_appinfo_get(Gsasl_session * sctx);
not me showing up with a void * return type like it's no big deal. slay. π
β¨ ARGUMENTS β¨
Gsasl_session * sctxβ the libgsasl session handle. that's your little session bestie. everything happens through her. π«Ά
β¨ DESCRIPTION β¨
so what does it DO. okay. this function retrieves the application specific data from a libgsasl session handle. where did that data come from? you set it earlier with gsasl_appinfo_set(). iconic duo behaviour, fr fr.
what's it for? bestie, it's how an application maintains state between the main program and the callback. like, the callback needs to know stuff the main program knows, and this is the little handoff point. very "passing notes in class" of it. π
Return value: it returns the application specific data, orNULL. that's the whole deal β either you get your data back or you getNULLand you just have to cope. π
π« DEPRECATED π«
okay so this is the part where I have to be real with you: this function is DEPRECATED. do not use it for new stuff. use gsasl_callback_hook_get() instead. periodt. π
π REPORTING BUGS π
found a bug? first of all, relatable. second of all, report it to:
<bug-gsasl@gnu.org>
and there's general guidelines for reporting bugs over at:
also the GNU SASL home page lives at:
go forth and file, bestie. πΈ
π COPYRIGHT π
Copyright Β© 2002-2021 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. so likeβ¦ copy it, remix it, put it on your blog, whatever β just keep the copyright notice and this notice intact. that's the vibe check and it passed. β
π SEE ALSO π
the full documentation for gsasl is maintained as a Texinfo manual. so if info and gsasl are properly installed on your system, this:
info gsasl
should give you access to the complete manual. chef's kiss. π
as an alternative, you can also obtain the manual from:
http://www.gnu.org/software/gsasl/manual/
iykyk. π¦
and that's the page, babe. this was gsasl 1.10.0, and the page is gsasl_appinfo_get(3). drink some water, go set your appinfo with the non-deprecated function, and text me later. mwah. πβ¨π
π¦ where this page comes from
- ubuntu jammy: libgsasl-dev 1.10.0-5 Β· 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