ecc9135299
- Fix the README to reflect the new status of the ftp code. - Change tons of 'if (xxx < 0)' to 'if (xxx == -1)' - Add two new interface functions - Fix the Makefile so it actually works (yay!) Now the manpage is lagging even further behind... :( Next on the todo list is to clean up the http code.
22 lines
837 B
Plaintext
22 lines
837 B
Plaintext
This is the new fetch(3) library, which is to replace the ftpio(3)
|
|
library and provide a new, unified backend for all fetch(1),
|
|
pkg_add(1) and sysinstall(8).
|
|
|
|
Note that this is very much work in progress. It compiles (with a few
|
|
warnings), but there is much left to be implemented. Amongst other
|
|
items:
|
|
|
|
* The man page needs work. Really. I mean it. Now.
|
|
|
|
* HTTP authentication doesn't work. I'm not sure if I bungled http.c
|
|
or fubared base64.c (which was ripped from MIT fetch(1)).
|
|
|
|
* The library needs a decent interface for reporting errors. I've
|
|
started on something (sending back an error code in the url_t that
|
|
was sent in) but we're Not There (tm) yet.
|
|
|
|
Comments, patches etc. of all kinds are welcome, but please don't
|
|
commit anything without talking to me first.
|
|
|
|
-- Dag-Erling C. Smørgrav (des@FreeBSD.org)
|