aboutsummaryrefslogtreecommitdiffstats
path: root/socket.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-12-17 20:53:10 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-12-17 20:53:10 +0000
commitb85d71b67a2743272f46c85bf479b1051171193d (patch)
treef828606268e283fa4d36ec6fb91ffc5fb19d9402 /socket.h
parentf034d4af6612be9fc2b393855ec5ac95d548d5d8 (diff)
downloadfetchmail-b85d71b67a2743272f46c85bf479b1051171193d.tar.gz
fetchmail-b85d71b67a2743272f46c85bf479b1051171193d.tar.bz2
fetchmail-b85d71b67a2743272f46c85bf479b1051171193d.zip
SockGets is gone.
svn path=/trunk/; revision=650
Diffstat (limited to 'socket.h')
-rw-r--r--socket.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/socket.h b/socket.h
index a69f36bc..11d9e296 100644
--- a/socket.h
+++ b/socket.h
@@ -7,18 +7,7 @@
#ifndef SOCKET__
#define SOCKET__
-/*
-Create a new client socket
-returns (FILE *)NULL on error
-*/
-FILE *Socket(char *host, int clientPort);
-
-/*
-Get a string terminated by an '\n', delete any '\r' and the '\n'.
-Pass it a valid socket, a buffer for the string, and
-the length of the buffer (including the trailing \0)
-returns 0 for success.
-*/
-int SockGets(char *buf, int len, FILE *sockfp);
+/* Create a new client socket; returns (FILE *)NULL on error */
+FILE *sockopen(char *host, int clientPort);
#endif /* SOCKET__ */