aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.h
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2006-08-14 23:27:23 +0000
committerMatthias Andree <matthias.andree@gmx.de>2006-08-14 23:27:23 +0000
commit221e4bda865f30ce604386b5266c564e4cd5d95e (patch)
tree4afccca00751eec7635e42e83162ae712f66e313 /fetchmail.h
parentdf4a264f6a4bf53592f9e273462a8861ea7e6a6d (diff)
downloadfetchmail-221e4bda865f30ce604386b5266c564e4cd5d95e.tar.gz
fetchmail-221e4bda865f30ce604386b5266c564e4cd5d95e.tar.bz2
fetchmail-221e4bda865f30ce604386b5266c564e4cd5d95e.zip
Add IMAP AUTH=EXTERNAL support. BerliOS Patch #1095.
Courtesy of Götz 'nimrill' Babin-Ebell. This patch also makes --sslproto arguments case insensitive. svn path=/branches/BRANCH_6-3/; revision=4896
Diffstat (limited to 'fetchmail.h')
-rw-r--r--fetchmail.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/fetchmail.h b/fetchmail.h
index cfe6a634..fec71d0b 100644
--- a/fetchmail.h
+++ b/fetchmail.h
@@ -81,6 +81,7 @@ char *strstr(const char *, const char *);
#define A_GSSAPI 7 /* authenticate with GSSAPI */
#define A_SSH 8 /* authentication at session level */
#define A_MSN 9 /* same as NTLM with keyword MSN */
+#define A_EXTERNAL 10 /* external authentication (client cert) */
/* some protocols or authentication types (KERBEROS, GSSAPI, SSH) don't
* require a password */
@@ -90,6 +91,7 @@ char *strstr(const char *, const char *);
|| (ctl)->server.authenticate == A_KERBEROS_V5 \
|| (ctl)->server.authenticate == A_GSSAPI \
|| (ctl)->server.authenticate == A_SSH \
+ || (ctl)->server.authenticate == A_EXTERNAL \
|| (ctl)->server.protocol == P_ETRN)
/*
@@ -119,6 +121,8 @@ char *strstr(const char *, const char *);
#define DIGESTLEN 33 /* length of MD5 digest */
/* exit code values */
+/* NOTE THAT PS_SUCCESS MUST ALWAYS BE 0 - SOME PARTS OF THE CODE
+ * RELY ON THIS VALUE! */
#define PS_SUCCESS 0 /* successful receipt of messages */
#define PS_NOMAIL 1 /* no mail available */
#define PS_SOCKET 2 /* socket I/O woes */