cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: lib/strcase.c refactoring

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Mon, 31 Oct 2016 23:38:14 +0100

On Mon, Oct 31, 2016 at 09:49:10PM +0100, Daniel Stenberg wrote:
> On Mon, 31 Oct 2016, Dan Fandrich wrote:
>
> >If the curlx interface isn't expected to maintain API compatibility from
> >release to release, the easiest solution may be to simply drop
> >curlx_strcasecompare and curlx_strncasecompare from the curlx API
> >altogether and force users to the public curl functions curl_strequal and
> >curl_strnequal instead.
>
> Yes let's do that, that's much better. I'll push a fix for that in a sec.

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.

>>> Dan
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-10-31