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

URL.
pull/1/head
Michael Brown 2005-04-30 14:45:51 +00:00
parent 5bec933c66
commit 06634dc386
1 changed files with 1 additions and 0 deletions

View File

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