mirror of
https://github.com/sheumann/NetDisk.git
synced 2024-11-27 19:49:38 +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
|