mirror of
https://github.com/sheumann/VNCviewGS.git
synced 2024-12-06 17:50:51 +00:00
aa868d6ff6
Also, clean up some of the includes in various files.
17 lines
574 B
C
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);
|