summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/http.h
diff options
context:
space:
mode:
authorSimon Rettberg2021-03-08 15:55:33 +0100
committerSimon Rettberg2021-03-08 15:55:33 +0100
commit6707d9218c8e6e760e53068d5f41ceb31fac6ea0 (patch)
tree88e8fc84ede2a0ed2c1cec3a6109beb9fb53abf5 /src/include/ipxe/http.h
parentMerge branch 'master' into openslx (diff)
parent[linux] Do not assume that stat() works on sysfs files (diff)
downloadipxe-6707d9218c8e6e760e53068d5f41ceb31fac6ea0.tar.gz
ipxe-6707d9218c8e6e760e53068d5f41ceb31fac6ea0.tar.xz
ipxe-6707d9218c8e6e760e53068d5f41ceb31fac6ea0.zip
Merge branch 'master' into openslx
Diffstat (limited to 'src/include/ipxe/http.h')
-rw-r--r--src/include/ipxe/http.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/include/ipxe/http.h b/src/include/ipxe/http.h
index 0893c9537..5a9baddcb 100644
--- a/src/include/ipxe/http.h
+++ b/src/include/ipxe/http.h
@@ -21,6 +21,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#include <ipxe/ntlm.h>
struct http_transaction;
+struct http_connection;
/******************************************************************************
*
@@ -43,13 +44,10 @@ struct http_scheme {
unsigned int port;
/** Transport-layer filter (if any)
*
- * @v xfer Data transfer interface
- * @v name Host name
- * @v next Next interface
+ * @v conn HTTP connection
* @ret rc Return status code
*/
- int ( * filter ) ( struct interface *xfer, const char *name,
- struct interface **next );
+ int ( * filter ) ( struct http_connection *conn );
};
/** HTTP scheme table */