Tidy up "make" output along the lines of a 2.6 kernel make (just a short
[exim.git] / src / src / auths / pwcheck.h
CommitLineData
c988f1f4 1/* $Cambridge: exim/src/src/auths/pwcheck.h,v 1.2 2005/01/04 10:00:43 ph10 Exp $ */
0756eb3c
PH
2
3/*************************************************
4* Exim - an Internet mail transport agent *
5*************************************************/
6
c988f1f4 7/* Copyright (c) University of Cambridge 1995 - 2005 */
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 */