mirror of
https://github.com/sheumann/DiskBrowser.git
synced 2024-10-31 09:15:14 +00:00
c237bd661f
This is adapted from NetDisk with minor changes.
17 lines
269 B
C
17 lines
269 B
C
#ifndef READTCP_H
|
|
#define READTCP_H
|
|
|
|
#include "session.h"
|
|
|
|
typedef enum ReadStatus {
|
|
rsDone,
|
|
rsWaiting,
|
|
rsError,
|
|
rsTimedOut
|
|
} ReadStatus;
|
|
|
|
void InitReadTCP(Session *sess, LongWord readCount, void *readPtr);
|
|
ReadStatus TryReadTCP(Session *sess);
|
|
|
|
#endif
|