gsasl_application_data_get(3)
π gsasl_application_data_get(3) π
okay bestie, so this is a page from the gsasl manual β yes, that gsasl, the GNU SASL library β and it's all about one little function that pulls your own data back out of a libgsasl handle. short page, cute energy, let's go π¦
β¨ NAME β¨
gsasl_application_data_get β API function
πΈ SYNOPSIS πΈ
#include <gsasl.h>
void * gsasl_application_data_get(Gsasl * ctx);
π ARGUMENTS π
Gsasl * ctxβ your libgsasl handle. that's it. that's the whole argument list. iconic minimalism π
π DESCRIPTION π
so basically: this function retrieves the application specific data from a libgsasl handle. like, your data, the stuff you stashed in there earlier β the vibe is very "hey, remember me?"
that data gets set with gsasl_application_data_set(). and what's it for? it's normally used by the application to maintain state between the main program and the callback. so when your callback fires off and needs to remember what the main program was doing, this is the lil thread that ties them together π§΅β¨
Return value: Returns the application specific data, or NULL. (so like, if there's nothing in there, you get NULL. don't be surprised, bestie.)
π DEPRECATED π
girl. Use gsasl_callback_hook_get() instead. this one's deprecated, no cap. it still exists, but it's giving "old phone in a drawer" energy. use the new one π
π REPORTING BUGS π
found a bug? don't suffer in silence, report it to <bug-gsasl@gnu.org>.
- General guidelines for reporting bugs:
http://www.gnu.org/gethelp/ - GNU SASL home page:
http://www.gnu.org/software/gsasl/
π 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.
π 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. As an alternative you may obtain the manual from:
http://www.gnu.org/software/gsasl/manual/
and that's the whole page, bestie! π this was gsasl 1.10.0, and the page is literally just gsasl_application_data_get(3) β go forth and get that data, you main character π«Άβ¨
π¦ 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