Преглед изворни кода

Protocols also take a pointer to a sockaddr_in.

tags/v0.9.3
Michael Brown пре 21 година
родитељ
комит
55ae308821
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2
    1
      src/include/proto.h

+ 2
- 1
src/include/proto.h Прегледај датотеку

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

Loading…
Откажи
Сачувај