aboutsummaryrefslogtreecommitdiffstats
path: root/socket.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-07-25 14:20:54 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-07-25 14:20:54 +0000
commit3673babe2a47d43fce7e4472fe08917e68b88ff6 (patch)
treef3ad85ad82372c9fca0c27083d680124ad64d523 /socket.h
parent01abcfe2305f3b7a367acbd394e615e6051e5c6b (diff)
downloadfetchmail-3673babe2a47d43fce7e4472fe08917e68b88ff6.tar.gz
fetchmail-3673babe2a47d43fce7e4472fe08917e68b88ff6.tar.bz2
fetchmail-3673babe2a47d43fce7e4472fe08917e68b88ff6.zip
SockClose() abstraction.
svn path=/trunk/; revision=2021
Diffstat (limited to 'socket.h')
-rw-r--r--socket.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/socket.h b/socket.h
index 7e8441a8..89907745 100644
--- a/socket.h
+++ b/socket.h
@@ -43,4 +43,10 @@ int SockPrintf(int sock, char *format, ...) ;
int SockPrintf();
#endif
+/*
+Close a socket previously opened by SockOpen. This allows for some
+additional clean-up if necessary.
+*/
+int SockClose(int sock);
+
#endif /* SOCKET__ */