Bump versions.
[gsasl.git] / doc / gsasl-callback-password.texi
blob966429988573ddc53278f0dfba8720b8ef1f62db
1 @deftypefn Prototype int (*Gsasl_client_callback_password) (Gsasl_session_ctx * @var{ctx}, char * @var{out}, size_t * @var{outlen})
3 @var{ctx}:  libgsasl handle.
5 @var{out}:  output array with password.
7 @var{outlen}:  on input the maximum size of the output array, on output
8 contains the actual size of the output array.
10 Type of callback function the application implements.  It should
11 populate the output array with password of user and set the output
12 array length, and return @code{GSASL_OK}, or fail with an error
13 code. The password must be encoded in UTF-8, but need not be
14 normalized in any way.
16 If OUT is NULL, the function should only populate the output length
17 field with the length, and return GSASL_OK.  This usage may be used by
18 the caller to allocate the proper buffer size.
20 @end deftypefn