net: wget: add definition of struct wget_http_info
authorAdriano Cordova <adrianox@gmail.com>
Mon, 11 Nov 2024 21:08:56 +0000 (18:08 -0300)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 16 Nov 2024 20:35:05 +0000 (21:35 +0100)
commit408af976742e6ffedf48fa42792955a633e357ed
treef0a9de0fece12e423609ca3e31b33b68a7c2fe6c
parent657b799585023b694f229816d249f7a733130d82
net: wget: add definition of struct wget_http_info

The struct wget_http_info exposes the HTTP information of the last HTTP
request issued by wget, and it controls whether the efi bootdevice is set,
and whether the buffer size needs to be checked (lwip stack only). This
information is otherwise discarded. The wget_http_info struct can be used
by HTTP drivers to have more control over HTTP requests.

Signed-off-by: Adriano Cordova <adrianox@gmail.com>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
include/net-common.h