http://git.etherboot.org
/
people
/
lynusvaz
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
00b78f7
)
Protocols also take a pointer to a sockaddr_in.
author
Michael Brown
<mcb30@etherboot.org>
Sat, 30 Apr 2005 13:50:01 +0000
(13:50 +0000)
committer
Michael Brown
<mcb30@etherboot.org>
Sat, 30 Apr 2005 13:50:01 +0000
(13:50 +0000)
src/include/proto.h
patch
|
blob
|
history
diff --git
a/src/include/proto.h
b/src/include/proto.h
index
5ca56ce
..
d51c6f3
100644
(file)
--- a/
src/include/proto.h
+++ b/
src/include/proto.h
@@
-5,7
+5,8
@@
struct protocol {
char *name;
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,
int ( * process ) ( unsigned char *data,
unsigned int blocknum,
unsigned int len,