sasl_canon_user_t - the canon user callback
cc [ flag ... ] file ... -lsasl [ library ... ] #include <sasl/sasl.h> int sasl_canon_user_t(sasl_conn_t *conn, void *context, const char *user, unsigned ulen, unsigned flags, const char *user_realm, char *out_user, unsigned *out_umax, unsigned *out_ulen);
The sasl_canon_user_t() interface is the callback function for an application-supplied user canonical function. This function is subject to the requirements of all canonical functions. It must copy the result into the output buffers, but the output buffers and the input buffers can be the same.
conn
context
user
ulen
flags
SASL_CU_AUTHID
SASL_CU_AUTHZID
user_realm
out_user
out_max
out_len
Like other SASL callback functions, sasl_canon_user_t() returns an integer that corresponds to a SASL error code. See <sasl.h> for a complete list of SASL error codes.
SASL_OK
See sasl_errors(3SASL) for information on SASL error codes.
See attributes(5) for descriptions of the following attributes:
|
sasl_errors(3SASL), sasl_server_new(3SASL), attributes(5)
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |