Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
SASL_CHALPROMPT_T(3)		  Cyrus	SASL		  SASL_CHALPROMPT_T(3)

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)
	      sasl_chalprompt_t	  is used to prompt for	input in response to a
	      server challenge.

	      Parameters

		     o context a is the	context	from the callback record

		     o id a is the callback id (either	SASL_CB_ECHOPROMPT  or
		       SASL_CB_NOECHOPROMPT)

		     o challenge a the serveras	challenge

		     o prompt a	A prompt for the user

		     o defresult a Default result (may be NULL)

		     o len a Length of the useras response.

	      Result The useras	response (a NUL	terminated string) or SASL er-
		     ror code.

RETURN VALUE
       The useras response  (NUL  terminated),	or  a  SASL  error  code.  See
       sasl_errors(3).

SEE ALSO
       sasl(3),	sasl_errors(3),	sasl_callbacks(3)

AUTHOR
       The Cyrus Team

COPYRIGHT
       1993-2016, The Cyrus Team

2.1.28			       February	18, 2022	  SASL_CHALPROMPT_T(3)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | SEE ALSO | AUTHOR | COPYRIGHT

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=sasl_chalprompt_t&sektion=3&manpath=FreeBSD+13.1-RELEASE+and+Ports>

home | help