Protocols also take a pointer to a sockaddr_in.
authorMichael Brown <mcb30@etherboot.org>
Sat, 30 Apr 2005 13:50:01 +0000 (13:50 +0000)
committerMichael Brown <mcb30@etherboot.org>
Sat, 30 Apr 2005 13:50:01 +0000 (13:50 +0000)
src/include/proto.h

index 5ca56ce..d51c6f3 100644 (file)
@@ -5,7 +5,8 @@
 
 struct protocol {
        char *name;
-       int ( * load ) ( const char *name,
+       int ( * load ) ( char *url,
+                        struct sockaddr_in *server,
                         int ( * process ) ( unsigned char *data,
                                             unsigned int blocknum,
                                             unsigned int len,