1 #ifndef _SMTP_SASL_AUTH_CACHE_H_INCLUDED_
2 #define _SMTP_SASL_AUTH_CACHE_H_INCLUDED_
23 #if defined(USE_TLS) && defined(USE_SASL_AUTH)
24 #define HAVE_SASL_AUTH_CACHE
34 } SMTP_SASL_AUTH_CACHE;
36 extern SMTP_SASL_AUTH_CACHE *smtp_sasl_auth_cache_init(
const char *,
int);
37 extern void smtp_sasl_auth_cache_store(SMTP_SASL_AUTH_CACHE *,
const SMTP_SESSION *,
const SMTP_RESP *);
38 extern int smtp_sasl_auth_cache_find(SMTP_SASL_AUTH_CACHE *,
const SMTP_SESSION *);
40 #define smtp_sasl_auth_cache_dsn(cp) ((cp)->dsn)
41 #define smtp_sasl_auth_cache_text(cp) ((cp)->text)