1 /*************************************************
2 * Exim - an Internet mail transport agent *
3 *************************************************/
5 /* Copyright (c) University of Cambridge 1995 - 2009 */
6 /* See the file NOTICE for conditions of use and distribution. */
7 /* SPDX-License-Identifier: GPL-2.0-or-later */
9 /* This file provides support for authentication via the Cyrus SASL pwcheck
10 daemon (whence its name) and the newer saslauthd daemon. */
12 /* Error codes used internally within the authentication functions */
14 /* PWCHECK_OK - auth successful
15 PWCHECK_NO - access denied
16 PWCHECK_FAIL - [temporary] failure */
20 #define PWCHECK_FAIL 2
22 /* Cyrus functions for doing the business. */
24 extern int pwcheck_verify_password(const char *, const char *, const char **);
25 extern int saslauthd_verify_password(const uschar *, const uschar *,
26 const uschar *, const uschar *, const uschar **);
28 /* End of pwcheck.h */