Protocols get passed a pointer to the filename portion as well as just the
authorMichael Brown <mcb30@etherboot.org>
Sat, 30 Apr 2005 14:45:51 +0000 (14:45 +0000)
committerMichael Brown <mcb30@etherboot.org>
Sat, 30 Apr 2005 14:45:51 +0000 (14:45 +0000)
URL.

src/include/proto.h

index d51c6f3..38658ac 100644 (file)
@@ -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,