summaryrefslogtreecommitdiffstats
path: root/sqwebmail/auth.h
diff options
context:
space:
mode:
Diffstat (limited to 'sqwebmail/auth.h')
-rw-r--r--sqwebmail/auth.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/sqwebmail/auth.h b/sqwebmail/auth.h
new file mode 100644
index 0000000..38a65ee
--- /dev/null
+++ b/sqwebmail/auth.h
@@ -0,0 +1,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