summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2005-04-30 15:50:01 +0200
committerMichael Brown2005-04-30 15:50:01 +0200
commit55ae308821fd0c624f213d2d5ab98302922a2842 (patch)
tree2b097b6d9fb329ff36f6992e3624a142524c7908 /src/include
parentUse struct in_addr rather than just "in_addr". (diff)
downloadipxe-55ae308821fd0c624f213d2d5ab98302922a2842.tar.gz
ipxe-55ae308821fd0c624f213d2d5ab98302922a2842.tar.xz
ipxe-55ae308821fd0c624f213d2d5ab98302922a2842.zip
Protocols also take a pointer to a sockaddr_in.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/proto.h3
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,