summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2005-04-30 16:45:51 +0200
committerMichael Brown2005-04-30 16:45:51 +0200
commit06634dc386b8fbb859bebe63976f0cb5a24ea27b (patch)
tree7ad4d525dccebfa80c42b0958bd43aac5cff20eb /src/include
parenttftp prototypes moved to tftp.h (diff)
downloadipxe-06634dc386b8fbb859bebe63976f0cb5a24ea27b.tar.gz
ipxe-06634dc386b8fbb859bebe63976f0cb5a24ea27b.tar.xz
ipxe-06634dc386b8fbb859bebe63976f0cb5a24ea27b.zip
Protocols get passed a pointer to the filename portion as well as just the
URL.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/proto.h b/src/include/proto.h
index d51c6f3fd..38658ac8f 100644
--- a/src/include/proto.h
+++ b/src/include/proto.h
@@ -7,6 +7,7 @@ struct protocol {
char *name;
int ( * load ) ( char *url,
struct sockaddr_in *server,
+ char *file,
int ( * process ) ( unsigned char *data,
unsigned int blocknum,
unsigned int len,