gsasl_mechanism_name(3)
π gsasl_mechanism_name β NAME π
okay bestie, welcome to the gsasl_mechanism_name(3) page, section 3 of the manual, brought to you by the gsasl girlies π¦
gsasl_mechanism_name β it's literally an API function, no cap.
β¨ SYNOPSIS β¨
#include <gsasl.h>
const char * gsasl_mechanism_name(Gsasl_session * sctx);
like. that's it. that's the whole vibe check π
πΈ ARGUMENTS πΈ
Gsasl_session * sctxβ bestie this is your libgsasl session handle. your little session bestie. the one you've been yapping with this whole time π
π« DESCRIPTION π«
so basically? this function returns the name of the SASL mechanism that's being used in the session. the way that it just... hands you the name. iconic behavior honestly β¨
π¨ GIRLIE LISTEN π¨ the pointer it gives you must not be deallocated by the caller. do not free it. do not touch it. it's not yours, it's the library's. hands off, periodt π
Return value: it returns a zero terminated character array with the name of the SASL mechanism, OR β and hear me out β NULL if it's not known π
so like, always check for NULL, fr fr.
π°οΈ SINCE π°οΈ
0.2.28 β this has been serving since way back, a true veteran π
π REPORTING BUGS π
found a bug? not the vibe. go tell the devs, they wanna know π«Ά
- 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. (translation: keep the receipts, bestie, and you're golden β¨)
π 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. (yes, just type that. slay.) π
As an alternative you may obtain the manual from:
https://www.gnu.org/software/libidn/gsasl/manual/
lowkey that's the whole page, and honestly? ate. no crumbs. π
this was gsasl version 2.2.4, page gsasl_mechanism_name(3) β mwah, go forth and know your mechanism names πβπ
π¦ 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