cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl tool referencing non-exported routines in libcurl.

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 22 Jul 2013 21:59:09 +0200 (CEST)

On Mon, 22 Jul 2013, Guenter wrote:

> # libcurl has sources that provide functions named curlx_* that aren't part
> of
> # the official API, but we re-use the code here to avoid duplication.
> CURLX_ONES = \
> ../lib/strtoofft.c \
> ../lib/strdup.c \
> ../lib/rawstr.c \
> ../lib/nonblock.c

John still has a point though about the functions that are named Curl_* but
are used by the curl tool, as we should make them curlx_* to make them
explicitly "allowed" to be used by source code re-use. I consider that a minor
flaw that we should fix at some point in time...

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2013-07-22