Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 May 1998 01:00:13 -0700
From:      "Jordan K. Hubbard" <jkh@time.cdrom.com>
To:        dag-erli@ifi.uio.no (Dag-Erling Coidan =?iso-8859-1?Q?Sm=F8rgrav?= )
Cc:        committers@FreeBSD.ORG
Subject:   Re: libfetch 
Message-ID:  <10598.894873613@time.cdrom.com>
In-Reply-To: Your message of "11 May 1998 09:48:13 %2B0200." <xzpwwbtgsea.fsf@hrotti.ifi.uio.no> 

next in thread | previous in thread | raw e-mail | index | archive | help
> I don't really like it much, but I guess it won't kill me :) The funny
> thing is that once upon a time when I was a believer of Wirth, I used
> to put my BEGINs at the end of the controlling line, but now that I
> have become an advocate of Ritchie and Thompson, i put my {s below the
> controlling line :)

Well, if you're an advocate of Ritchie already then getting you to
adopt strict (ansi) K&R should be a breeze, right? :)

> Not Yet Implemented :) but I got a very good suggestion yesterday from
> Mike Smith (option strings as in fopen()), so I'll cook something up
> soon. I pulled out all the "int flags" arguments because I realized
> they wouldn't be much help (too few bits, as you pointed out)

Yeah, I was thinking about this some more after reading Mike's same
suggestion and it occurred to me that you could pass in fields like
the FTP username or port number the same way too, e.g.:

    fetchGetURL(urlstr, "mode=read, user=fred, pass=geheim, port=2032");

Anyone familiar with LDAP should be right at home with that, right? :-)

> I did write it completely from scratch, because I didn't quite see how
> I could easily extract the http code from fetch. The approach is

Great, I was hoping you'd say that - it really needed a rewrite. :-)

- Jordan

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?10598.894873613>