aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1999-11-06 21:55:19 +0000
committerEric S. Raymond <esr@thyrsus.com>1999-11-06 21:55:19 +0000
commit6a75e16b6942cb3be87298fd9ca0c7d65d81f952 (patch)
tree3bceb1ca26a94beff0ec40edca7034beff408560 /fetchmail.h
parentdfff00af0a435d1a1646051f712240295997efb6 (diff)
downloadfetchmail-6a75e16b6942cb3be87298fd9ca0c7d65d81f952.tar.gz
fetchmail-6a75e16b6942cb3be87298fd9ca0c7d65d81f952.tar.bz2
fetchmail-6a75e16b6942cb3be87298fd9ca0c7d65d81f952.zip
Ready to send this to Mike.
svn path=/trunk/; revision=2649
Diffstat (limited to 'fetchmail.h')
-rw-r--r--fetchmail.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/fetchmail.h b/fetchmail.h
index 6694cf79..69e7b838 100644
--- a/fetchmail.h
+++ b/fetchmail.h
@@ -18,13 +18,13 @@
#define P_IMAP_LOGIN 10
#define P_ETRN 11
-#if INET6
+#if INET6_ENABLE
#define SMTP_PORT "smtp"
#define KPOP_PORT "kpop"
-#else /* INET6 */
+#else /* INET6_ENABLE */
#define SMTP_PORT 25
#define KPOP_PORT 1109
-#endif /* INET6 */
+#endif /* INET6_ENABLE */
#ifdef SSL_ENABLE
#define SIMAP_PORT 993
@@ -144,13 +144,13 @@ struct query;
struct method /* describe methods for protocol state machine */
{
const char *name; /* protocol name */
-#if INET6
+#if INET6_ENABLE
const char *service;
const char *sslservice;
-#else /* INET6 */
+#else /* INET6_ENABLE */
int port; /* service port */
int sslport; /* service port for ssl */
-#endif /* INET6 */
+#endif /* INET6_ENABLE */
flag tagged; /* if true, generate & expect command tags */
flag delimited; /* if true, accept "." message delimiter */
int (*parse_response)(int, char *);
@@ -186,12 +186,12 @@ struct hostdata /* shared among all user connections to given server */
struct idlist *akalist; /* server name first, then akas */
struct idlist *localdomains; /* list of pass-through domains */
int protocol; /* protocol type */
-#if INET6
+#if INET6_ENABLE
char *service; /* IPv6 service name */
void *netsec; /* IPv6 security request */
-#else /* INET6 */
+#else /* INET6_ENABLE */
int port; /* TCP/IP service port number */
-#endif /* INET6 */
+#endif /* INET6_ENABLE */
int interval; /* # cycles to skip between polls */
int preauthenticate; /* preauthentication mode to try */
int timeout; /* inactivity timout in seconds */