summaryrefslogtreecommitdiffstats
path: root/sqwebmail/auth.h
blob: 38a65eeab130e7232b9ecce016ee23ba1fd9bc93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
** Copyright 1998 - 2004 Double Precision, Inc.  See COPYING for
** distribution information.
*/


/*
*/
#ifndef	auth_h
#define	auth_h

extern int prelogin(const char *);
extern const char *do_login(const char *, const char *, const char *);

extern const char *login_returnaddr();
extern const char *login_fromhdr();

extern int login_changepwd(const char *, const char *, const char *, int *);
extern int changepw(const char *service,
		    const char *uid,
		    const char *opwd,
		    const char *npwd);

#endif