sasl_chalprompt_t(3)

sasl_chalprompt_t3

Cyrus sasl documentation

Usage

#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)

Overview

int sasl_chalprompt_t(void *context,
int id,
const char *challenge,
const char *prompt,
const char *defresult,
const char **result,
unsigned *len)

sasl_chalprompt_t is used to prompt for input in response to a server challenge.

Parameters
•

context – is the context from the callback record

•

id – is the callback id (either SASL_CB_ECHOPROMPT or SASL_CB_NOECHOPROMPT)

•

challenge – the server’s challenge

•

prompt – A prompt for the user

•

defresult – Default result (may be NULL)

•

len – Length of the user’s response.

Result

The user’s response (a NUL terminated string) or SASL error code.

Return value

The user’s response (NUL terminated), or a SASL error code. See sasl_errors(3).

Releases

11 releases since Debian 3.1 (Sarge); the text changed 4 times.

  1. 3.1–9
  2. 10
  3. 11
  4. 12
  5. 13

Author

The Cyrus Team

From libsasl2-dev 2.1.28+dfsg1-9 in Debian 13 (Trixie). Parsed by carta from the page's man source.