cURL / Mailing Lists / curl-library / Single Mail


Re: lib/strcase.c refactoring

From: Dan Fandrich <>
Date: Mon, 31 Oct 2016 23:54:49 +0100

On Mon, Oct 31, 2016 at 11:44:21PM +0100, Daniel Stenberg wrote:
> On Mon, 31 Oct 2016, Dan Fandrich wrote:
> >There are two references left, in rtspd.c and sws.c. Neither of those are
> >currently linking with libcurl so they don't have access to the public
> >functions, but I can't think of any reason they couldn't start linking
> >with libcurl to get them.
> Or we just copy that code to server/util.c and have the servers use their
> own set. Feels simpler and doesn't pull the entire libcurl into those test
> servers.

Or, we could avoid this copying by adding these functions to a sort of informal
internal API, let's call it "curlx", and call them from there. Hey, wait a
List admin:
Received on 2016-10-31