mirror of
https://github.com/sheumann/DiskBrowser.git
synced 2024-10-07 17:54:31 +00:00
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
|