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

URL.
This commit is contained in:
Michael Brown
2005-04-30 14:45:51 +00:00
parent 5bec933c66
commit 06634dc386

View File

@@ -7,6 +7,7 @@ struct protocol {
char *name; char *name;
int ( * load ) ( char *url, int ( * load ) ( char *url,
struct sockaddr_in *server, struct sockaddr_in *server,
char *file,
int ( * process ) ( unsigned char *data, int ( * process ) ( unsigned char *data,
unsigned int blocknum, unsigned int blocknum,
unsigned int len, unsigned int len,