Explorar el Código

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

URL.
tags/v0.9.3
Michael Brown hace 20 años
padre
commit
06634dc386
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1
    0
      src/include/proto.h

+ 1
- 0
src/include/proto.h Ver fichero

@@ -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…
Cancelar
Guardar