aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-02-16 06:28:50 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-02-16 06:28:50 +0000
commitbd57c85d9a2cc1e95e0ae16168b764204755e143 (patch)
tree61136f88ae3f61465fef9f5a224a35364cadfae7 /fetchmail.h
parent9e96c6bc3494dfe34655a02df8f735bce71d86a6 (diff)
downloadfetchmail-bd57c85d9a2cc1e95e0ae16168b764204755e143.tar.gz
fetchmail-bd57c85d9a2cc1e95e0ae16168b764204755e143.tar.bz2
fetchmail-bd57c85d9a2cc1e95e0ae16168b764204755e143.zip
Alll of Craig Metz's changes for IPv6 and IPSEC except the POP3 stuff.
svn path=/trunk/; revision=1630
Diffstat (limited to 'fetchmail.h')
-rw-r--r--fetchmail.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/fetchmail.h b/fetchmail.h
index 72e59ed8..2b42de37 100644
--- a/fetchmail.h
+++ b/fetchmail.h
@@ -13,7 +13,11 @@
#define P_ETRN 8
#define P_IMAP_GSS 9
+#if INET6
+#define KPOP_PORT "kpop"
+#else /* INET6 */
#define KPOP_PORT 1109
+#endif /* INET6 */
/* preauthentication types */
#define A_PASSWORD 0 /* password or inline authentication */
@@ -93,7 +97,11 @@ 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
+ char *service;
+#else /* INET6 */
int port; /* TCP/IP service port number */
+#endif /* INET6 */
int interval; /* # cycles to skip between polls */
int preauthenticate; /* preauthentication mode to try */
int timeout; /* inactivity timout in seconds */
@@ -181,7 +189,11 @@ struct query
struct method
{
char *name; /* protocol name */
+#if INET6
+ char *service;
+#else /* INET6 */
int port; /* service port */
+#endif /* INET6 */
flag tagged; /* if true, generate & expect command tags */
flag delimited; /* if true, accept "." message delimiter */
int (*parse_response)(); /* response_parsing function */
@@ -243,6 +255,11 @@ extern char *home; /* home directory of invoking user */
extern char *fetchmailhost; /* the name of the host running fetchmail */
extern int pass; /* number of re-polling pass */
+#if NETSEC
+extern void *request;
+extern int requestlen;
+#endif /* NETSEC */
+
/* prototypes for globally callable functions */
/* error.c: Error reporting */