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

@@ -9,7 +9,7 @@
#include <stdint.h>
#include <gpxe/async.h>
#include <gpxe/tcp.h>
#include <gpxe/stream.h>
struct buffer;
@@ -57,10 +57,10 @@ struct ftp_request {
char status_text[4];
/** Passive-mode parameters, as text */
char passive_text[24]; /* "aaa,bbb,ccc,ddd,eee,fff" */
/** TCP application for the control channel */
struct tcp_application tcp;
/** TCP application for the data channel */
struct tcp_application tcp_data;
/** Stream application for the control channel */
struct stream_application stream;
/** Stream application for the data channel */
struct stream_application stream_data;
};
extern int ftp_get ( struct uri *uri, struct buffer *buffer,