SASL_CHALPROMPT_T(3)
π sasl_chalprompt_t(3) β a Cyrus SASL moment π
okay bestie, so this one lives in the Cyrus SASL manual, section 3 (that's the library-calls girlies), and it's literally all about asking the user for input when the server comes at you with a challenge. no cap. π¦
β¨ NAME β¨
sasl_chalprompt_t β Cyrus SASL documentation
πΈ SYNOPSIS πΈ
#include <sasl/prop.h>
int sasl_chalprompt_t(void *context, int id,
const char *challenge,
const char *prompt, const char *defresult,
const char **result, unsigned *len)
π DESCRIPTION π
int sasl_chalprompt_t(void *context,
int id,
const char *challenge,
const char *prompt,
const char *defresult,
const char **result,
unsigned *len)
so sasl_chalprompt_t is the callback that prompts for input in response to a server challenge. like, the server says something, and you gotta go get the human's answer. it's giving middleman energy, but make it β¨necessaryβ¨.
π Parameters π
contextβ is the context from the callback recordidβ is the callback id (eitherSASL_CB_ECHOPROMPTorSASL_CB_NOECHOPROMPT)challengeβ the server's challengepromptβ A prompt for the userdefresultβ Default result (may beNULL)lenβ Length of the user's response.
π«Ά Result π«Ά
The user's response (a NUL terminated string) or SASL error code.
ngl,SASL_CB_ECHOPROMPTvsSASL_CB_NOECHOPROMPTis the whole vibe check here β one shows what you type, one absolutely does not. π
π₯ RETURN VALUE π₯
The user's response (NUL terminated), or a SASL error code. See sasl_errors(3).
π SEE ALSO π
π AUTHOR π
The Cyrus Team
π COPYRIGHT π
1993-2016, The Cyrus Team
and that's the whole page, bestie β version 2.1.28, dated February 18, 2022, brought to you by the Cyrus Team, who lowkey ate with this callback. go prompt somebody. slay. π
β¨
π¦ 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