From owner-cvs-all Sun May 10 06:32:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA23465 for cvs-all-outgoing; Sun, 10 May 1998 06:32:38 -0700 (PDT) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA23275; Sun, 10 May 1998 06:30:40 -0700 (PDT) (envelope-from dag-erli@ifi.uio.no) Received: from hrotti.ifi.uio.no (2602@hrotti.ifi.uio.no [129.240.64.15]) by ifi.uio.no (8.8.8/8.8.7/ifi0.2) with ESMTP id PAA17757; Sun, 10 May 1998 15:30:15 +0200 (MET DST) Received: (from dag-erli@localhost) by hrotti.ifi.uio.no ; Sun, 10 May 1998 15:30:14 +0200 (MET DST) Mime-Version: 1.0 To: Mike Smith Cc: "Jordan K. Hubbard" , Julian Elischer , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libftpio ftpio.c References: <199805090554.WAA00630@antipodes.cdrom.com> Organization: Gutteklubben Terrasse / KRST / PUMS / YASMW X-url: http://www.stud.ifi.uio.no/~dag-erli/ X-Stop-Spam: http://www.cauce.org From: dag-erli@ifi.uio.no (Dag-Erling Coidan =?iso-8859-1?Q?Sm=F8rgrav?= ) Date: 10 May 1998 15:30:13 +0200 In-Reply-To: Mike Smith's message of "Fri, 08 May 1998 22:54:00 -0700" Message-ID: Lines: 18 X-Mailer: Gnus v5.5/Emacs 19.34 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk Mike Smith 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