aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-02-12 01:14:30 +0000
committerEric S. Raymond <esr@thyrsus.com>2001-02-12 01:14:30 +0000
commit20dfee53954fb557cf867a053d4d5d29e9bedb89 (patch)
tree9bf6c2a6a3524c8b8a5779162c36e431c9d73569 /fetchmail.h
parentd6c728ad218f79305ad759eba6d787d125c67ec3 (diff)
downloadfetchmail-20dfee53954fb557cf867a053d4d5d29e9bedb89.tar.gz
fetchmail-20dfee53954fb557cf867a053d4d5d29e9bedb89.tar.bz2
fetchmail-20dfee53954fb557cf867a053d4d5d29e9bedb89.zip
Looks like we've got the new authentication logic done.
svn path=/trunk/; revision=3072
Diffstat (limited to 'fetchmail.h')
-rw-r--r--fetchmail.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/fetchmail.h b/fetchmail.h
index dbc386d4..b1b37d05 100644
--- a/fetchmail.h
+++ b/fetchmail.h
@@ -29,11 +29,12 @@
#endif
/* preauthentication types */
-#define A_PASSWORD 0 /* password or inline authentication */
-#define A_KERBEROS_V4 1 /* preauthenticate w/ Kerberos V4 */
-#define A_KERBEROS_V5 2 /* preauthenticate w/ Kerberos V5 */
-#define A_GSSAPI 3 /* preauthenticate with GSSAPI */
-#define A_SSH 4 /* preauthentication at session level */
+#define A_ANY 0 /* use the first method that works */
+#define A_PASSWORD 1 /* password or inline authentication */
+#define A_KERBEROS_V4 2 /* preauthenticate w/ Kerberos V4 */
+#define A_KERBEROS_V5 3 /* preauthenticate w/ Kerberos V5 */
+#define A_GSSAPI 4 /* preauthenticate with GSSAPI */
+#define A_SSH 5 /* preauthentication at session level */
/*
* Definitions for buffer sizes. We get little help on setting maxima