diff options
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 */ |
