manpagez: man pages & more
man sasl_chalprompt_t(3)
Home | html | info | man
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


       sasl_chalprompt_t(3) *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 - is the context from the callback record

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

                     o challenge - the server's challenge

                     o prompt - A prompt for the user

                     o defresult - Default result (may be NULL)

                     o 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).


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)

cyrus-sasl2 2.1.28 - Generated Sun Sep 25 09:15:04 CDT 2022
© manpagez.com 2000-2024
Individual documents may contain additional copyright information.