3 #ifndef _SMTP_SASL_AUTH_CACHE_H_INCLUDED_
4 #define _SMTP_SASL_AUTH_CACHE_H_INCLUDED_
8 /* smtp_sasl_auth_cache 3h
10 /* Postfix SASL authentication failure cache
13 /* #include "smtp_sasl_auth_cache.h"
23 * This code stores hashed passwords which requires OpenSSL.
25 #if defined(USE_TLS) && defined(USE_SASL_AUTH)
26 #define HAVE_SASL_AUTH_CACHE
36 } SMTP_SASL_AUTH_CACHE
;
38 extern SMTP_SASL_AUTH_CACHE
*smtp_sasl_auth_cache_init(const char *, int);
39 extern void smtp_sasl_auth_cache_store(SMTP_SASL_AUTH_CACHE
*, const SMTP_SESSION
*, const SMTP_RESP
*);
40 extern int smtp_sasl_auth_cache_find(SMTP_SASL_AUTH_CACHE
*, const SMTP_SESSION
*);
42 #define smtp_sasl_auth_cache_dsn(cp) ((cp)->dsn)
43 #define smtp_sasl_auth_cache_text(cp) ((cp)->text)
50 /* The Secure Mailer license must be distributed with this software.
52 /* Initial implementation by:
55 /* 65760 Eschborn, Germany
59 /* IBM T.J. Watson Research
61 /* Yorktown Heights, NY 10598, USA