[http] Hide HTTP transport-layer filter implementation details

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2020-12-08 14:55:44 +00:00
parent 1b112e9d18
commit be47c2c72c
3 changed files with 17 additions and 6 deletions

View File

@@ -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 */