mirror of
https://github.com/ipxe/ipxe
synced 2025-12-19 19:49:45 +03:00
[http] Hide HTTP transport-layer filter implementation details
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user