Changed to use the generic stream API.

This commit is contained in:
Michael Brown
2007-01-31 02:09:13 +00:00
parent 02f18565da
commit 6d32f0e6e2
10 changed files with 500 additions and 541 deletions

View File

@@ -8,7 +8,7 @@
*/
#include <stdint.h>
#include <gpxe/tcp.h>
#include <gpxe/stream.h>
#include <gpxe/async.h>
#include <gpxe/linebuf.h>
#include <gpxe/uri.h>
@@ -43,8 +43,8 @@ struct http_request {
/** Server address */
struct sockaddr server;
/** TCP application for this request */
struct tcp_application tcp;
/** Stream application for this request */
struct stream_application stream;
/** Number of bytes already sent */
size_t tx_offset;
/** RX state */