VNCviewGS/readtcp.h
Stephen Heumann aa868d6ff6 Move TCP read routines to a separate file.
Also, clean up some of the includes in various files.
2016-09-17 17:06:53 -05:00

17 lines
574 B
C

/* Ptr to data read by last DoReadTCP call. */
extern unsigned char *readBufferPtr;
/* Used internally by TCP read routines.
* Shouldn't be accessed directly otherwise. */
extern void ** readBufferHndl;
#define DoneWithReadBuffer() do \
if (readBufferHndl) { \
DisposeHandle(readBufferHndl); \
readBufferHndl = NULL; \
} while (0) \
extern BOOLEAN DoReadTCP (unsigned long);
extern BOOLEAN DoWaitingReadTCP(unsigned long);
extern unsigned DoReadMultipleTCP(unsigned recLen, unsigned maxN);