Browse Source

Protocols also take a pointer to a sockaddr_in.

tags/v0.9.3
Michael Brown 19 years ago
parent
commit
55ae308821
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/include/proto.h

+ 2
- 1
src/include/proto.h View File

@@ -5,7 +5,8 @@
5 5
 
6 6
 struct protocol {
7 7
 	char *name;
8
-	int ( * load ) ( const char *name,
8
+	int ( * load ) ( char *url,
9
+			 struct sockaddr_in *server,
9 10
 			 int ( * process ) ( unsigned char *data,
10 11
 					     unsigned int blocknum,
11 12
 					     unsigned int len,

Loading…
Cancel
Save