gsasl_client_application_data_set(3)

πŸ“¦ version 1.10.0, in ubuntu jammy

✨ gsasl_client_application_data_set(3) ✨

okay bestie, gather round, because we're reading a page from the gsasl manual β€” section 3, the library-functions girlies β€” and honestly? she's short, she's sweet, and she's deprecated 😭. let's get into it πŸ’…


🌸 NAME 🌸

gsasl_client_application_data_set β€” literally just an API function, no cap πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

#include <gsasl.h>

void gsasl_client_application_data_set(Gsasl_session * sctx, void *
application_data);

πŸ¦‹ ARGUMENTS πŸ¦‹

  • Gsasl_session * sctx β€” your libgsasl client handle, bestie. the main character of the operation 🫢
  • void * application_data β€” an opaque pointer to whatever application-specific data you feel like tucking in there. opaque means we don't peek, it's your business, periodt πŸ™ˆ

πŸ’– DESCRIPTION πŸ’–

so the way this works is: you store your application-specific data right inside the libgsasl client handle. that's it. that's the whole vibe ✨

and then later β€” say, inside a callback, when you're deep in the sauce β€” you can get it back by calling gsasl_client_application_data_get(). iconic little get/set duo, iykyk 🌈

the whole point is that it lets your app keep state between the main program and the callback, so you're not out here passing things around by hand like it's 2009. lowkey useful, highkey deprecated (more on that below, bestie 😭).


πŸ’€ DEPRECATED πŸ’€

not me finding out this is deprecated 😭 β€” use gsasl_callback_hook_set() or gsasl_session_hook_set() instead. fr fr, go use the shiny ones.

πŸ“ REPORTING BUGS πŸ“

found a bug? squeal to <bug-gsasl@gnu.org> πŸ›

general guidelines for reporting bugs live at: http://www.gnu.org/gethelp/

and the GNU SASL home page is right here: http://www.gnu.org/software/gsasl/


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. (slay, honestly β€” no royalty, no drama, just vibes πŸ’œ)


🧚 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, this command:

info gsasl

should give you access to the complete manual, no cap πŸ“–βœ¨

as an alternative you may obtain the manual from:

http://www.gnu.org/software/gsasl/manual/

and that's the whole page, bestie!! πŸŽ€ this lil cutie came to you from gsasl 1.10.0, gsasl_client_application_data_set(3), section 3 β€” take care of her, she's deprecated but she ate πŸ’…βœ¨

πŸ“¦ where this page comes from