mirror of
https://github.com/sheumann/NetDisk.git
synced 2024-11-23 22:37:02 +00:00
16 lines
253 B
C
16 lines
253 B
C
#ifndef READTCP_H
|
|
#define READTCP_H
|
|
|
|
#include "session.h"
|
|
|
|
typedef enum ReadStatus {
|
|
rsDone,
|
|
rsWaiting,
|
|
rsError
|
|
} ReadStatus;
|
|
|
|
void InitReadTCP(Session *sess, LongWord readCount, void *readPtr);
|
|
ReadStatus TryReadTCP(Session *sess);
|
|
|
|
#endif
|