Pārlūkot izejas kodu

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

URL.
tags/v0.9.3
Michael Brown 20 gadus atpakaļ
vecāks
revīzija
06634dc386
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1
    0
      src/include/proto.h

+ 1
- 0
src/include/proto.h Parādīt failu

@@ -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,

Notiek ielāde…
Atcelt
Saglabāt