Browse Source

Protocols get passed a pointer to the filename portion as well as just the

URL.
tags/v0.9.3
Michael Brown 19 years ago
parent
commit
06634dc386
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/include/proto.h

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

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

Loading…
Cancel
Save