NetDisk/readtcp.h

17 lines
269 B
C
Raw Normal View History

#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