diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1999-10-27 00:15:14 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1999-10-27 00:15:14 +0000 |
commit | 0d1e69ae10af5eba7cd3426e802d40d17b6db218 (patch) | |
tree | d838573a667ed2ba75e04797f87eb9f45f1df05f /fetchmail.h | |
parent | 8d293a3b12a5e2c4ecc6f70bcd59b862294458c8 (diff) | |
download | fetchmail-0d1e69ae10af5eba7cd3426e802d40d17b6db218.tar.gz fetchmail-0d1e69ae10af5eba7cd3426e802d40d17b6db218.tar.bz2 fetchmail-0d1e69ae10af5eba7cd3426e802d40d17b6db218.zip |
This preliminary SSL patch goes to Mike.
svn path=/trunk/; revision=2643
Diffstat (limited to 'fetchmail.h')
-rw-r--r-- | fetchmail.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/fetchmail.h b/fetchmail.h index 161d14af..6694cf79 100644 --- a/fetchmail.h +++ b/fetchmail.h @@ -26,6 +26,11 @@ #define KPOP_PORT 1109 #endif /* INET6 */ +#ifdef SSL_ENABLE +#define SIMAP_PORT 993 +#define SPOP3_PORT 995 +#endif + /* preauthentication types */ #define A_PASSWORD 0 /* password or inline authentication */ #define A_KERBEROS_V4 1 /* preauthenticate w/ Kerberos V4 */ @@ -141,8 +146,10 @@ struct method /* describe methods for protocol state machine */ const char *name; /* protocol name */ #if INET6 const char *service; + const char *sslservice; #else /* INET6 */ int port; /* service port */ + int sslport; /* service port for ssl */ #endif /* INET6 */ flag tagged; /* if true, generate & expect command tags */ flag delimited; /* if true, accept "." message delimiter */ @@ -257,6 +264,9 @@ struct query int fetchlimit; /* max # msgs to get in single poll */ int batchlimit; /* max # msgs to pass in single SMTP session */ int expunge; /* max # msgs to pass between expunges */ + flag use_ssl; /* use SSL encrypted session */ + char *sslkey; /* optional SSL private key file */ + char *sslcert; /* optional SSL certificate file */ char *properties; /* passthrough properties for extensions */ /* internal use -- per-poll state */ |