aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-10-10 17:47:52 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-10-10 17:47:52 +0000
commit6cb67de133d4bc256dce49a631f5b2b7b34a382e (patch)
treef43eeb42340023a95737adc71c6f279c0cfb021f /fetchmail.h
parentdcc479703ddcd3b99224a06b0947e4d8bd657063 (diff)
downloadfetchmail-6cb67de133d4bc256dce49a631f5b2b7b34a382e.tar.gz
fetchmail-6cb67de133d4bc256dce49a631f5b2b7b34a382e.tar.bz2
fetchmail-6cb67de133d4bc256dce49a631f5b2b7b34a382e.zip
Kerberos integration, stage 3.
svn path=/trunk/; revision=283
Diffstat (limited to 'fetchmail.h')
-rw-r--r--fetchmail.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/fetchmail.h b/fetchmail.h
index d2bfc6d1..a5dcb39c 100644
--- a/fetchmail.h
+++ b/fetchmail.h
@@ -12,12 +12,17 @@
***********************************************************************/
/* constants designating the various supported protocols */
-#define P_AUTO 0
-#define P_POP2 2
-#define P_POP3 3
-#define P_IMAP 4
-#define P_APOP 5
-#define P_KPOP 6
+#define P_AUTO 0
+#define P_POP2 2
+#define P_POP3 3
+#define P_IMAP 4
+#define P_APOP 5
+
+#define KPOP_PORT 1109
+
+/* authentication types */
+#define A_PASSWORD 0 /* passwords in cleartext */
+#define A_KERBEROS 1 /* get Kerberos V4 ticket */
/* definitions for buffer sizes -- somewhat arbitrary */
#define POPBUFSIZE 512 /* per RFC 937 */
@@ -62,6 +67,7 @@ struct hostrec
char mda [MDALEN+1];
int protocol;
int port;
+ int authenticate;
/* MDA arguments */
char *mda_argv[32];