diff options
| author | Michael Brown | 2005-04-30 15:50:01 +0200 |
|---|---|---|
| committer | Michael Brown | 2005-04-30 15:50:01 +0200 |
| commit | 55ae308821fd0c624f213d2d5ab98302922a2842 (patch) | |
| tree | 2b097b6d9fb329ff36f6992e3624a142524c7908 /src | |
| parent | Use struct in_addr rather than just "in_addr". (diff) | |
| download | ipxe-55ae308821fd0c624f213d2d5ab98302922a2842.tar.gz ipxe-55ae308821fd0c624f213d2d5ab98302922a2842.tar.xz ipxe-55ae308821fd0c624f213d2d5ab98302922a2842.zip | |
Protocols also take a pointer to a sockaddr_in.
Diffstat (limited to 'src')
| -rw-r--r-- | src/include/proto.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/proto.h b/src/include/proto.h index 5ca56ce48..d51c6f3fd 100644 --- a/src/include/proto.h +++ b/src/include/proto.h @@ -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, |
