Mike Smith <mike@smith.net.au> writes:
> > > FILE *fetchGetURL(char *URL, int flags);
> > > FILE *fetchPutURL(char *URL, int flags);
> > Sounds reasonable - so the flags will be the union of all possible
> > options, e.g. everything from (contrived) FILE_SYMLINK to FTP_PASSIVE?
> > Do we have less than 32 options in total? ;-)
> Given that this looks a lot like fopen(), maybe use an option string
> instead?
Very good idea, thanks!
BTW, I have the HTTP code pretty much knocked into place now, though
there are some problems with transfer-coding I need to work out (using
funopen() so I can decode chunk-encoded data transparently. I'll soon
start banging the FTP code from libftpio into place...
--
Noone else has a .sig like this one.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message