Remove obsolete $Cambridge$ CVS revision strings.
[exim.git] / src / src / auths / pwcheck.h
1 /*************************************************
2 *     Exim - an Internet mail transport agent    *
3 *************************************************/
4
5 /* Copyright (c) University of Cambridge 1995 - 2009 */
6 /* See the file NOTICE for conditions of use and distribution. */
7
8 /* This file provides support for authentication via the Cyrus SASL pwcheck
9 daemon (whence its name) and the newer saslauthd daemon. */
10
11 /* Error codes used internally within the authentication functions */
12
13 /* PWCHECK_OK   - auth successful
14    PWCHECK_NO   - access denied
15    PWCHECK_FAIL - [temporary] failure */
16
17 #define PWCHECK_OK   0
18 #define PWCHECK_NO   1
19 #define PWCHECK_FAIL 2
20
21 /* Cyrus functions for doing the business. */
22
23 extern int pwcheck_verify_password(const char *, const char *, const char **);
24 extern int saslauthd_verify_password(const uschar *, const uschar *,
25            const uschar *, const uschar *, const uschar **);
26
27 /* End of pwcheck.h */