Browse Source

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

URL.
tags/v0.9.3
Michael Brown 20 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
 	char *name;
7
 	char *name;
8
 	int ( * load ) ( char *url,
8
 	int ( * load ) ( char *url,
9
 			 struct sockaddr_in *server,
9
 			 struct sockaddr_in *server,
10
+			 char *file,
10
 			 int ( * process ) ( unsigned char *data,
11
 			 int ( * process ) ( unsigned char *data,
11
 					     unsigned int blocknum,
12
 					     unsigned int blocknum,
12
 					     unsigned int len,
13
 					     unsigned int len,

Loading…
Cancel
Save