Sfoglia il codice sorgente

Protocols also take a pointer to a sockaddr_in.

tags/v0.9.3
Michael Brown 19 anni fa
parent
commit
55ae308821
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2
    1
      src/include/proto.h

+ 2
- 1
src/include/proto.h Vedi 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…
Annulla
Salva