curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder Daniel himself.

curlx in curl code

From: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Wed, 7 May 2025 09:23:54 +0200 (CEST)

FYI

(The curlx functions are functions that are not part of the libcurl API but is
still shared as code from the lib with the tool and tests.)

At curl up 2025 we discussed "curlx as a library" and we came down with the
conclusion that we should simply move all the curlx_ functions into a subdir
and use the prefix consistently for those functions both in tool and library
code and get rid of the defined name setup we used before (intermittently).

The net effect is that a few library source code files move into lib/curlx/,
and that we change the prefix for a bunch of libcurl functions from Curl_ to
curlx_.

This is exactly what I'm doing in my monster PR 17253 [*]. Due to the nature
of this change, it might of course cause some extra merge work for other
outstanding PRs, but I do think the cleanup and clarity this brings is a good
one.

[*] = https://github.com/curl/curl/pull/17253

The curl up discussion on video:
https://youtu.be/5ZB8_IGM3YU?si=VNHsLBYKpBJdZqU0

-- 
  / daniel.haxx.se || https://rock-solid.curl.dev
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2025-05-07