Home
last modified time | relevance | path

Searched refs:log_cb (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/lib/libsasl/lib/
H A Dseterror.c123 sasl_log_t *log_cb; in sasl_seterror() local
149 result = _sasl_getcallback(NULL, SASL_CB_LOG, &log_cb, &log_ctx); in sasl_seterror()
150 if (result == SASL_OK && ! log_cb) in sasl_seterror()
155 log_cb(log_ctx, SASL_LOG_FAIL, in sasl_seterror()
348 result = _sasl_getcallback(conn, SASL_CB_LOG, &log_cb, &log_ctx); in sasl_seterror()
349 if (result == SASL_OK && ! log_cb) in sasl_seterror()
354 result = log_cb(log_ctx, SASL_LOG_FAIL, conn->error_buf); in sasl_seterror()
H A Dcommon.c1688 sasl_log_t *log_cb, void *log_ctx,
1708 sasl_log_t *log_cb; in _sasl_log() local
1714 result = _sasl_getcallback(conn, SASL_CB_LOG, &log_cb, &log_ctx); in _sasl_log()
1715 if (result == SASL_OK && ! log_cb) in _sasl_log()
1719 ___sasl_log(gctx, log_cb, log_ctx, level, fmt, ap); in _sasl_log()
1730 sasl_log_t *log_cb = NULL; in __sasl_log() local
1738 log_cb = callbacks->proc; in __sasl_log()
1745 if (log_cb == NULL) { in __sasl_log()
1746 result = _sasl_getcallback(NULL, SASL_CB_LOG, &log_cb, &log_ctx); in __sasl_log()
1747 if (result != SASL_OK || ! log_cb) in __sasl_log()
[all …]