exipick version 20061117.2 (bug fixes, feature additions, addresses 4.64-PH/13, 4...
[exim.git] / src / src / auths / pwcheck.h
CommitLineData
d7d7b7b9 1/* $Cambridge: exim/src/src/auths/pwcheck.h,v 1.3 2006/02/07 11:19:01 ph10 Exp $ */
0756eb3c
PH
2
3/*************************************************
4* Exim - an Internet mail transport agent *
5*************************************************/
6
d7d7b7b9 7/* Copyright (c) University of Cambridge 1995 - 2006 */
0756eb3c
PH
8/* See the file NOTICE for conditions of use and distribution. */
9
10/* This file provides support for authentication via the Cyrus SASL pwcheck
11daemon (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
25extern int pwcheck_verify_password(const char *, const char *, const char **);
26extern int saslauthd_verify_password(const uschar *, const uschar *,
27 const uschar *, const uschar *, const uschar **);
28
29/* End of pwcheck.h */