mirror of
https://github.com/sheumann/VNCviewGS.git
synced 2024-11-22 17:30:57 +00:00
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);
|