Update copyright year in (most) files (those that my script finds).
[exim.git] / src / src / auths / pwcheck.h
1 /* $Cambridge: exim/src/src/auths/pwcheck.h,v 1.3 2006/02/07 11:19:01 ph10 Exp $ */
2
3 /*************************************************
4 * Exim - an Internet mail transport agent *
5 *************************************************/
6
7 /* Copyright (c) University of Cambridge 1995 - 2006 */
8 /* See the file NOTICE for conditions of use and distribution. */
9
10 /* This file provides support for authentication via the Cyrus SASL pwcheck
11 daemon (whence its name) and the newer saslauthd daemon. */
12
13 /* Error codes used internally within the authentication functions */
14
15 /* PWCHECK_OK - auth successful
16 PWCHECK_NO - access denied
17 PWCHECK_FAIL - [temporary] failure */
18
19 #define PWCHECK_OK 0
20 #define PWCHECK_NO 1
21 #define PWCHECK_FAIL 2
22
23 /* Cyrus functions for doing the business. */
24
25 extern int pwcheck_verify_password(const char *, const char *, const char **);
26 extern int saslauthd_verify_password(const uschar *, const uschar *,
27 const uschar *, const uschar *, const uschar **);
28
29 /* End of pwcheck.h */