diff options
| author | Michael Brown | 2007-01-18 04:39:45 +0100 |
|---|---|---|
| committer | Michael Brown | 2007-01-18 04:39:45 +0100 |
| commit | dd6d94004f2cd33401978a91353f5c352caa1313 (patch) | |
| tree | 386c513b5b16f564db93ae057c9e85545d873a4c /src/include | |
| parent | Replacement for fetch() which operates asynchronously and identifies (diff) | |
| download | ipxe-dd6d94004f2cd33401978a91353f5c352caa1313.tar.gz ipxe-dd6d94004f2cd33401978a91353f5c352caa1313.tar.xz ipxe-dd6d94004f2cd33401978a91353f5c352caa1313.zip | |
HTTP/DNS now working fully asynchronously. HTTP/IP addresses and any
other protocol won't work at the moment.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/gpxe/http.h | 2 | ||||
| -rw-r--r-- | src/include/usr/fetch.h | 16 |
2 files changed, 2 insertions, 16 deletions
diff --git a/src/include/gpxe/http.h b/src/include/gpxe/http.h index 49922e502..3cfc888a4 100644 --- a/src/include/gpxe/http.h +++ b/src/include/gpxe/http.h @@ -41,6 +41,8 @@ struct http_request { /** HTTP Content-Length */ size_t content_length; + /** Server address */ + struct sockaddr server; /** TCP application for this request */ struct tcp_application tcp; /** Number of bytes already sent */ diff --git a/src/include/usr/fetch.h b/src/include/usr/fetch.h deleted file mode 100644 index 85b856346..000000000 --- a/src/include/usr/fetch.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifndef _USR_FETCH_H -#define _USR_FETCH_H - -/** - * @file - * - * Fetch file - * - */ - -#include <stdint.h> -#include <gpxe/uaccess.h> - -extern int fetch ( const char *uri_string, userptr_t *data, size_t *len ); - -#endif /* _USR_FETCH_H */ |
