From 2dd66a8c50f85adcd210b1d482ed1d5ef6e06142 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 16 Jan 1997 03:29:34 +0000 Subject: One step towards proper continuation handling. svn path=/trunk/; revision=774 --- socket.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'socket.h') diff --git a/socket.h b/socket.h index 6c93c634..f84f5b4d 100644 --- a/socket.h +++ b/socket.h @@ -18,6 +18,11 @@ returns buffer on success, NULL on failure. */ char *SockGets(char *buf, int len, FILE *sockfp); +/* + * Peek at the next socket character without actually reading it. + */ +int SockPeek(FILE *sockfp); + /* Write a chunk of bytes to the socket (matches interface of fwrite). Returns number of bytes successfully written. -- cgit v1.2.3