DiskBrowser/readtcp.h
Stephen Heumann c237bd661f Add utility code for HTTP connections, URLs, and networking.
This is adapted from NetDisk with minor changes.
2019-04-12 23:23:39 -05:00

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