mirror of
https://github.com/ipxe/ipxe
synced 2025-12-17 18:11:49 +03:00
Protocols get passed a pointer to the filename portion as well as just the
URL.
This commit is contained in:
@@ -7,6 +7,7 @@ struct protocol {
|
|||||||
char *name;
|
char *name;
|
||||||
int ( * load ) ( char *url,
|
int ( * load ) ( char *url,
|
||||||
struct sockaddr_in *server,
|
struct sockaddr_in *server,
|
||||||
|
char *file,
|
||||||
int ( * process ) ( unsigned char *data,
|
int ( * process ) ( unsigned char *data,
|
||||||
unsigned int blocknum,
|
unsigned int blocknum,
|
||||||
unsigned int len,
|
unsigned int len,
|
||||||
|
|||||||
Reference in New Issue
Block a user