SASL_GLOBAL_LISTMECH(3)
π SASL_GLOBAL_LISTMECH π
okay bestie, welcome to the manual page for sasl_global_listmech β she's a section 3 (library function) girlie from the Cyrus SASL docs, and she is lowkey iconic for doing exactly one thing and doing it perfectly β¨
πΈ NAME πΈ
sasl_global_listmech β Cyrus SASL documentation. that's it, that's the name, no notes π
π SYNOPSIS π
#include <sasl/sasl.h>
const char ** sasl_global_listmech();
like... she takes zero arguments. no params, no drama, main character energy fr fr π¦
β¨ DESCRIPTION β¨
const char **sasl_global_listmech();
so here's the tea, bestie: sasl_global_listmech hands you back a null-terminated array of strings, and that array lists all the mechanisms that are loaded by either the client side or the server side of the library. both sides, one list, no cap π«Ά
think of it like the group chat member list for your SASL library. everyone who showed up gets named. periodt.
π RETURN VALUE π
- on success β she returns a pointer to that array, slay β¨
- on failure β
NULL, and the specific flavor of failure here is that the sasl library is uninitialized π
so if you're getting NULL back, check ur init, bestie, that's the vibe check failing fr fr.
π SEE ALSO π
RFC 4422,:saslman:sasl(3)sasl_server_init(3)sasl_listmech(3)sasl_client_init(3)
go read those too, they're all part of the same friend group π
π AUTHOR π
The Cyrus Team π§
π COPYRIGHT π
1993-2016, The Cyrus Team
ngl bestie, if you ever forget how to list every loaded mechanism, just remember: one call, no args, null-terminated array, done. iconic behaviour only π β¨
okay that's the whole page, ily, go write some slay code π
this has been Cyrus SASL, version 2.1.28, dated February 18, 2022 β mwah, bye bestie ππ¦
π¦ where this page comes from
- alpine 3.22: cyrus-sasl-doc 2.1.28-r8 Β· BSD-3-Clause-Attribution AND BSD-4-Clause
- alpine 3.23: cyrus-sasl-doc 2.1.28-r9 Β· BSD-3-Clause-Attribution AND BSD-4-Clause
- alpine 3.24: cyrus-sasl-doc 2.1.28-r9 Β· BSD-3-Clause-Attribution AND BSD-4-Clause
- centos-stream 10: cyrus-sasl-devel 2.1.28-27.el10 Β· BSD-Attribution-HPND-disclaimer
- fedora 43: cyrus-sasl-devel 2.1.28-33.fc43 Β· BSD-Attribution-HPND-disclaimer
- fedora 43: cyrus-sasl-devel 2.1.28-33.fc43 Β· BSD-Attribution-HPND-disclaimer
- fedora 44: cyrus-sasl-devel 2.1.28-35.fc44 Β· BSD-Attribution-HPND-disclaimer
- fedora 44: cyrus-sasl-devel 2.1.28-35.fc44 Β· BSD-Attribution-HPND-disclaimer
- opensuse-leap 16.0: cyrus-sasl-bdb-devel 2.1.28-160000.4.1 Β· BSD-4-Clause
- opensuse-leap 16.0: cyrus-sasl-bdb-devel 2.1.28-160000.4.1 Β· BSD-4-Clause
- opensuse-leap 16.0: cyrus-sasl-bdb-devel 2.1.28-160000.4.1 Β· BSD-4-Clause
- opensuse-leap 16.0: cyrus-sasl-bdb-devel 2.1.28-160000.4.1 Β· BSD-4-Clause
- opensuse-leap 16.0: cyrus-sasl-devel 2.1.28-160000.4.1 Β· BSD-4-Clause
- opensuse-leap 16.0: cyrus-sasl-devel 2.1.28-160000.4.1 Β· BSD-4-Clause
- opensuse-leap 16.0: cyrus-sasl-devel 2.1.28-160000.4.1 Β· BSD-4-Clause
- opensuse-leap 16.0: cyrus-sasl-devel 2.1.28-160000.4.1 Β· BSD-4-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms