Ethan,
I have started working on this again (atleast for a little while).
Please take a look at the attached file and tell me what you think.
of course, I had to make changes to the other files (commenting out some
parts etc) but what's in this file works.
and it is no where near completion.
Questions:
[1] rawio.c
rawio.seek = rawio_seek [79]
problem is that there is no seek function prototype in __fsdriver.h.
did you forget to include it?
int rawio_open (struct __fd *file, int oflags, int mode)
But the function prototype is listed as
int (*open)(struct __fd *,int)
which one is the correct one?
[2] ofdevice.c
/* must start with http:// */
if (strncmp(path, "http://", strlen("http://")))
return 0;
I don't understand these lines. why should it start w/ http:// if it
is an ofdevice? did I completely
misunderstand what you were trying to do?
Attachment:
open2.c
Description: Binary data