mirror of
https://github.com/sheumann/DiskBrowser.git
synced 2024-11-22 13:33:52 +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
|