diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-12-17 20:53:10 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-12-17 20:53:10 +0000 |
commit | b85d71b67a2743272f46c85bf479b1051171193d (patch) | |
tree | f828606268e283fa4d36ec6fb91ffc5fb19d9402 /socket.h | |
parent | f034d4af6612be9fc2b393855ec5ac95d548d5d8 (diff) | |
download | fetchmail-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.h | 15 |
1 files changed, 2 insertions, 13 deletions
@@ -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__ */ |