X-Git-Url: http://git.etherboot.org/people/lynusvaz/gpxe.git/blobdiff_plain/55ae308821fd0c624f213d2d5ab98302922a2842..0fe74493f48c25bb92373e68bf6856eda7ac5667:/src/include/proto.h?ds=sidebyside diff --git a/src/include/proto.h b/src/include/proto.h index d51c6f3f..fb4e4137 100644 --- a/src/include/proto.h +++ b/src/include/proto.h @@ -2,15 +2,14 @@ #define PROTO_H #include "tables.h" +#include "buffer.h" +#include "in.h" struct protocol { char *name; - int ( * load ) ( char *url, - struct sockaddr_in *server, - int ( * process ) ( unsigned char *data, - unsigned int blocknum, - unsigned int len, - int eof ) ); + in_port_t default_port; + int ( * load ) ( char *url, struct sockaddr_in *server, char *file, + struct buffer *buffer ); }; /*