aboutsummaryrefslogtreecommitdiffstats
path: root/socket.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 /socket.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 'socket.h')
-rw-r--r--socket.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/socket.h b/socket.h
index 42f5c512..83e1b366 100644
--- a/socket.h
+++ b/socket.h
@@ -8,7 +8,11 @@
#define SOCKET__
/* Create a new client socket; returns (FILE *)NULL on error */
+#if INET6
+int SockOpen(const char *host, const char *service);
+#else /* INET6 */
int SockOpen(const char *host, int clientPort);
+#endif /* INET6 */
/*
Get a string terminated by an '\n' (matches interface of fgets).