aboutsummaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2020-12-08 14:55:44 +0000
committerMichael Brown <mcb30@ipxe.org>2020-12-08 15:04:28 +0000
commitbe47c2c72cd3cdecc146eca5a200d454643bcf06 (patch)
treed9f42086d3bb7048f06bbb0da6e03a4ebc6e6ee8 /src/include
parent1b112e9d18bb9c874b87ce5feabb7906f62351b3 (diff)
downloadipxe-be47c2c72cd3cdecc146eca5a200d454643bcf06.tar.gz
[http] Hide HTTP transport-layer filter implementation details
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ipxe/http.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/ipxe/http.h b/src/include/ipxe/http.h
index 117f174af..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,11 +44,10 @@ struct http_scheme {
unsigned int port;
/** Transport-layer filter (if any)
*
- * @v xfer Data transfer interface
- * @v name Host name
+ * @v conn HTTP connection
* @ret rc Return status code
*/
- int ( * filter ) ( struct interface *xfer, const char *name );
+ int ( * filter ) ( struct http_connection *conn );
};
/** HTTP scheme table */