From 06634dc386b8fbb859bebe63976f0cb5a24ea27b Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sat, 30 Apr 2005 14:45:51 +0000 Subject: [PATCH] Protocols get passed a pointer to the filename portion as well as just the URL. --- src/include/proto.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/include/proto.h b/src/include/proto.h index d51c6f3f..38658ac8 100644 --- a/src/include/proto.h +++ b/src/include/proto.h @@ -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,