Protocols also take a pointer to a sockaddr_in.
[people/lynusvaz/gpxe.git] / 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,